Use slightly safer compiler flags
This commit is contained in:
parent
b0aeb4f5eb
commit
4270256e1d
@ -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\-\_\.]'`
|
||||||
|
Loading…
Reference in New Issue
Block a user