bc: add CPPFLAGS to libffi's test for X32
This commit is contained in:
parent
8f3ea45de1
commit
1828ff5697
|
@ -5,3 +5,5 @@ Changes to the source in this copy:
|
|||
|
||||
* Commented out `__attribute__((deprecated))` for `ffi_java_...` to
|
||||
avoid warnings when compiling libffi itself.
|
||||
|
||||
* Added $CPPFLAGS to use of $CC in "configure.host"
|
||||
|
|
|
@ -115,7 +115,7 @@ case "${host}" in
|
|||
;;
|
||||
*)
|
||||
echo 'int foo (void) { return __x86_64__; }' > conftest.c
|
||||
if $CC $CFLAGS -Werror -S conftest.c -o conftest.s > /dev/null 2>&1; then
|
||||
if $CC $CFLAGS $CPPFLAGS -Werror -S conftest.c -o conftest.s > /dev/null 2>&1; then
|
||||
TARGET_X32=yes
|
||||
TARGET=X86_64
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue
Block a user