Revert "Do not override environment CFLAGS and CXXFLAGS"

This reverts commit 80ebd60e7c. The
reason why we cleared CFLAGS/CXXFLAGS was because otherwise we get a
default value of -O2, which interferes with the defaults set in the
Makefile. (E.g. "make OPTIMIZE=0" should not pass -O2.)
This commit is contained in:
Eelco Dolstra 2016-01-12 13:51:38 +01:00
parent 4202b17666
commit ef7c2d8b3e

View File

@ -55,6 +55,8 @@ if test "$sys_name" = sunos; then
fi
CFLAGS=
CXXFLAGS=
AC_PROG_CC
AC_PROG_CXX