Move --enable-pie switch

This commit is contained in:
Frank Denis 2013-07-07 22:29:58 -07:00
parent 51d91d1115
commit 617eb6d26f

View File

@ -52,10 +52,6 @@ AC_ARG_ENABLE(ssp,
enable_ssp="yes" enable_ssp="yes"
]) ])
AC_ARG_ENABLE(pie,
[AS_HELP_STRING(--enable-pie,Produce position independent executables @<:@default=yes@:>@)],
enable_pie=$enableval, enable_pie="maybe")
AC_ARG_ENABLE(asm, AC_ARG_ENABLE(asm,
[AS_HELP_STRING(--disable-asm,Disable assembly implementations)], [AS_HELP_STRING(--disable-asm,Disable assembly implementations)],
[ [
@ -74,6 +70,10 @@ AS_IF([test "x$EMSCRIPTEN" != "x"],[
AC_MSG_WARN([compiling to javascript - asm implementations disabled]) AC_MSG_WARN([compiling to javascript - asm implementations disabled])
]) ])
AC_ARG_ENABLE(pie,
[AS_HELP_STRING(--enable-pie,Produce position independent executables @<:@default=yes@:>@)],
enable_pie=$enableval, enable_pie="maybe")
AC_ARG_ENABLE(blocking-random, AC_ARG_ENABLE(blocking-random,
[AS_HELP_STRING(--enable-blocking-random,Use /dev/random instead of /dev/urandom)], [AS_HELP_STRING(--enable-blocking-random,Use /dev/random instead of /dev/urandom)],
[AC_DEFINE([USE_BLOCKING_RANDOM], [1], [Use blocking random])]) [AC_DEFINE([USE_BLOCKING_RANDOM], [1], [Use blocking random])])