mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-04-20 22:09:10 +00:00
more strict nopie check
This commit is contained in:
parent
addf4821d9
commit
3c52555f99
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ fi
|
|||
nopie=""
|
||||
|
||||
oldcflags="$CFLAGS"
|
||||
CFLAGS="-nopie"
|
||||
CFLAGS="-nopie -Werror"
|
||||
AC_MSG_CHECKING([whether CC supports -nopie])
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])],
|
||||
[AC_MSG_RESULT([yes])]
|
||||
|
@ -42,7 +42,7 @@ CFLAGS="$oldcflags"
|
|||
if test "x$nopie" = "x"
|
||||
then
|
||||
oldcflags="$CFLAGS"
|
||||
CFLAGS="-no-pie"
|
||||
CFLAGS="-no-pie -Werror"
|
||||
AC_MSG_CHECKING([whether CC supports -no-pie])
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])],
|
||||
[AC_MSG_RESULT([yes])]
|
||||
|
|
Loading…
Add table
Reference in a new issue