build: Add -fno-exceptions to compiler flags

This commit is contained in:
Marcel Holtmann 2018-10-04 10:27:42 +02:00
parent 6e70c84f8e
commit 78bb325d3b
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ AC_DEFUN([AC_PROG_CC_PIE], [
AC_DEFUN([COMPILER_FLAGS], [
if (test "${CFLAGS}" = ""); then
CFLAGS="-Wall -O2 -fsigned-char "
CFLAGS="-Wall -O2 -fsigned-char -fno-exceptions"
CFLAGS+=" -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2"
fi
if (test "$USE_MAINTAINER_MODE" = "yes"); then