From 7006dc4c6a145f6e8a3b2a51bd48b14b9367445f Mon Sep 17 00:00:00 2001 From: John Bowler Date: Wed, 16 Nov 2011 22:25:47 -0600 Subject: [PATCH] [libpng15] Added --noexecstack to assembler file compilation. --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index 34cc4b896..21a1b92f2 100644 --- a/configure.ac +++ b/configure.ac @@ -189,6 +189,11 @@ AC_SUBST([binconfigs]) # here (this may by GCC specific) AC_SUBST([AM_CCASFLAGS], [--noexecstack]) +# Because GCC by default assembles code with an executable stack, even though it +# compiles C code with a non-executable stack, it is necessary to do a fixup +# here (this may by GCC specific) +AC_SUBST([AM_CCASFLAGS], [--noexecstack]) + AC_ARG_ENABLE([arm-neon], AC_HELP_STRING([--enable-arm-neon], [Enable ARM NEON optimizations]), [if test "${enableval}" = yes; then