configure: also respect CPPFLAGS from environment (if set).
This commit is contained in:
parent
7b0e9967b1
commit
fc9fda7195
4
configure
vendored
4
configure
vendored
@ -213,6 +213,10 @@ linux)
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
if [ -n "$CPPFLAGS" ]; then
|
||||||
|
echo "CPPFLAGS += $CPPFLAGS" >>$CONFIG_MK
|
||||||
|
fi
|
||||||
|
|
||||||
# Add CPPFLAGS/CFLAGS/LDFLAGS to CC for testing features
|
# Add CPPFLAGS/CFLAGS/LDFLAGS to CC for testing features
|
||||||
XCC="$CC $CFLAGS $CPPFLAGS $LDFLAGS"
|
XCC="$CC $CFLAGS $CPPFLAGS $LDFLAGS"
|
||||||
# Make sure to disable --as-needed for CC tests.
|
# Make sure to disable --as-needed for CC tests.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user