diff options
-rw-r--r-- | aclocal.m4 | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/aclocal.m4 b/aclocal.m4 index 7aa3fb468a..03f43d18db 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -693,15 +693,6 @@ AC_DEFUN([FPTOOLS_SET_C_LD_FLAGS], esac - # If gcc knows about the stack protector, turn it off. - # Otherwise the stack-smash handler gets triggered. - echo 'int main(void) {return 0;}' > conftest.c - if $CC -c conftest.c -fno-stack-protector > /dev/null 2>&1 - then - $2="$$2 -fno-stack-protector" - fi - - rm -f conftest.c conftest.o AC_MSG_RESULT([done]) ]) |