diff options
author | acurtis@xiphis.org <> | 2006-05-31 00:07:58 -0700 |
---|---|---|
committer | acurtis@xiphis.org <> | 2006-05-31 00:07:58 -0700 |
commit | 23e612ae11d8b88e8616871d967d1442c44e188b (patch) | |
tree | a62e725116c91213516881c9fbd73b92e0db774f /configure.in | |
parent | b1fe1d3742f60e97b01ba19f143771a2c22805ec (diff) | |
download | mariadb-git-23e612ae11d8b88e8616871d967d1442c44e188b.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.
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 |