mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-09 08:48:07 +00:00
parent
d6812466c3
commit
8e430ec9b5
@ -3399,14 +3399,8 @@ MOZ_ARG_HEADER(Compiler Options)
|
||||
dnl ========================================================
|
||||
dnl Check for gcc -pipe support
|
||||
dnl ========================================================
|
||||
MOZ_ARG_DISABLE_BOOL(gcc-pipe,
|
||||
[ --disable-gcc-pipe Disable -pipe check for gcc],
|
||||
NO_GCC_PIPE=1)
|
||||
|
||||
AC_MSG_CHECKING([for gcc -pipe support])
|
||||
if test -n "$NO_GCC_PIPE"; then
|
||||
AC_MSG_RESULT([disabled])
|
||||
elif test -n "$GNU_CC" && test -n "$GNU_CXX" && test -n "$GNU_AS"; then
|
||||
if test -n "$GNU_CC" && test -n "$GNU_CXX" && test -n "$GNU_AS"; then
|
||||
echo '#include <stdio.h>' > dummy-hello.c
|
||||
echo 'int main() { printf("Hello World\n"); exit(0); }' >> dummy-hello.c
|
||||
${CC} -S dummy-hello.c -o dummy-hello.s 2>&5
|
||||
|
Loading…
x
Reference in New Issue
Block a user