Use slightly safer compiler flags

This commit is contained in:
Frank Denis 2015-10-08 01:27:09 +02:00
parent b0aeb4f5eb
commit 4270256e1d

View File

@ -246,6 +246,9 @@ fi
AC_MSG_RESULT() AC_MSG_RESULT()
CFLAGS="$CFLAGS -fstack-protector-all -fno-strict-overflow -fno-strict-aliasing"
CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"
AC_CHECK_FUNCS([getpt grantpt unlockpt ptsname]) AC_CHECK_FUNCS([getpt grantpt unlockpt ptsname])
OS_REL=`uname -r | tr -d '[A-Za-z\-\_\.]'` OS_REL=`uname -r | tr -d '[A-Za-z\-\_\.]'`