Merge "configure: append --extra-cflags to final set"

This commit is contained in:
James Zern 2015-08-28 02:55:49 +00:00 committed by Gerrit Code Review
commit 6201a256f4
2 changed files with 6 additions and 6 deletions

View File

@ -1323,12 +1323,6 @@ EOF
add_cflags -D_LARGEFILE_SOURCE
add_cflags -D_FILE_OFFSET_BITS=64
fi
# append any user defined extra cflags
if [ -n "${extra_cflags}" ] ; then
check_add_cflags ${extra_cflags} || \
die "Requested extra CFLAGS '${extra_cflags}' not supported by compiler"
fi
}
process_toolchain() {

6
configure vendored
View File

@ -716,6 +716,12 @@ EOF
esac
# libwebm needs to be linked with C++ standard library
enabled webm_io && LD=${CXX}
# append any user defined extra cflags
if [ -n "${extra_cflags}" ] ; then
check_add_cflags ${extra_cflags} || \
die "Requested extra CFLAGS '${extra_cflags}' not supported by compiler"
fi
}