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:
parent
4202b17666
commit
ef7c2d8b3e
|
@ -55,6 +55,8 @@ if test "$sys_name" = sunos; then
|
|||
fi
|
||||
|
||||
|
||||
CFLAGS=
|
||||
CXXFLAGS=
|
||||
AC_PROG_CC
|
||||
AC_PROG_CXX
|
||||
|
||||
|
|
Loading…
Reference in a new issue