diff options
author | unknown <acurtis@xiphis.org> | 2006-05-31 00:07:58 -0700 |
---|---|---|
committer | unknown <acurtis@xiphis.org> | 2006-05-31 00:07:58 -0700 |
commit | 32a7fafe093d9d3a84eca63a6e4aad02c508539f (patch) | |
tree | a62e725116c91213516881c9fbd73b92e0db774f /configure.in | |
parent | 4121c1ca1f950d02f990b74d2de79400b9e8eeee (diff) | |
download | mariadb-git-32a7fafe093d9d3a84eca63a6e4aad02c508539f.tar.gz |
Bug#12096
"Add line for non-executable stack in .s files"
Fix so that configure will use "--noexecstack" for assembler if gcc supports
option and compiled C doesn't need executable stack.
config/ac-macros/compiler_flag.m4:
Bug#12096
Add macro to check if "--noexecstack" should be used when compiling assembler
configure.in:
Bug#12096
Add macro to check if "--noexecstack" should be used when compiling assembler
strings/Makefile.am:
Bug#12096
Automake knows how to handle assembler
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in index ac1c122c2ea..1b44081a4a0 100644 --- a/configure.in +++ b/configure.in @@ -515,6 +515,10 @@ AM_PROG_CC_STDC # We need an assembler, too AM_PROG_AS +CCASFLAGS="$CCASFLAGS $ASFLAGS" + +# Check if we need noexec stack for assembler +AC_CHECK_NOEXECSTACK if test "$am_cv_prog_cc_stdc" = "no" then |