about summary refs log tree commit diff
path: root/configure.in
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-05-15 02:58:18 +0000
committerUlrich Drepper <drepper@redhat.com>2008-05-15 02:58:18 +0000
commit215a87451d1fd623fd2699fa57f16f8ab6f6a2f3 (patch)
tree1a26c877b22ed3754d200e38bf748a6e6edcd1e8 /configure.in
parent2f9a1be867489eb4fdc46e052163eb3cab99aef1 (diff)
downloadglibc-215a87451d1fd623fd2699fa57f16f8ab6f6a2f3.tar.gz
glibc-215a87451d1fd623fd2699fa57f16f8ab6f6a2f3.tar.xz
glibc-215a87451d1fd623fd2699fa57f16f8ab6f6a2f3.zip
[BZ #6428]
	* configure.in: Don't use $CFLAGS when assembling, use $ASFLAGS.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index e6a5abb54c..ef9893c800 100644
--- a/configure.in
+++ b/configure.in
@@ -1520,7 +1520,7 @@ EOF
   if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS
 		     -S -o conftest.s conftest.c 1>&AS_MESSAGE_LOG_FD]) \
      && grep -q .note.GNU-stack conftest.s \
-     && AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS -Wa,--noexecstack
+     && AC_TRY_COMMAND([${CC-cc} $ASFLAGS -Wa,--noexecstack
 		       -c -o conftest.o conftest.s 1>&AS_MESSAGE_LOG_FD])
   then
     libc_cv_as_noexecstack=yes