mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
configure: Suppress expected compiler error message
This commit is contained in:
3
configure
vendored
3
configure
vendored
@ -5337,7 +5337,8 @@ fi
|
||||
# copy of those headers in Makerules.
|
||||
if test -n "$CXX"; then
|
||||
find_cxx_header () {
|
||||
echo "#include <$1>" | $CXX -M -MP -x c++ - | sed -n "\,$1:,{s/:\$//;p}"
|
||||
echo "#include <$1>" | $CXX -M -MP -x c++ - 2>/dev/null \
|
||||
| sed -n "\,$1:,{s/:\$//;p}"
|
||||
}
|
||||
CXX_CSTDLIB_HEADER="$(find_cxx_header cstdlib)"
|
||||
CXX_CMATH_HEADER="$(find_cxx_header cmath)"
|
||||
|
Reference in New Issue
Block a user