Skip to content

Commit

Permalink
Use slightly safer compiler flags
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Oct 7, 2015
1 parent b0aeb4f commit 4270256
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,9 @@ fi

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])

OS_REL=`uname -r | tr -d '[A-Za-z\-\_\.]'`
Expand Down

0 comments on commit 4270256

Please sign in to comment.