Use -std=gnu17 when compiling depends sources and main source file
This commit is contained in:
@@ -127,11 +127,11 @@ as --version | tail -n1
|
|||||||
ld -v
|
ld -v
|
||||||
autoconf --version
|
autoconf --version
|
||||||
|
|
||||||
HOST="$HOST" BUILD="$BUILD" "$MAKE" "$@" -C ./depends/ V=1
|
HOST="$HOST" BUILD="$BUILD" "$MAKE" CPPFLAGS='-std=gnu17' "$@" -C ./depends/ V=1
|
||||||
|
|
||||||
time ./autogen.sh
|
time ./autogen.sh
|
||||||
|
|
||||||
CONFIG_SITE="$PWD/depends/$HOST/share/config.site" ./configure "$HARDENING_ARG" "$LCOV_ARG" "$TEST_ARG" "$MINING_ARG" $CONFIGURE_FLAGS CXXFLAGS='-g'
|
CONFIG_SITE="$PWD/depends/$HOST/share/config.site" ./configure "$HARDENING_ARG" "$LCOV_ARG" "$TEST_ARG" "$MINING_ARG" $CONFIGURE_FLAGS CXXFLAGS='-g' CPPFLAGS='-std=gnu17'
|
||||||
|
|
||||||
# Build CryptoConditions stuff
|
# Build CryptoConditions stuff
|
||||||
WD=$PWD
|
WD=$PWD
|
||||||
|
|||||||
Reference in New Issue
Block a user