diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-01-12 13:51:38 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-01-12 13:51:38 +0100 |
commit | ef7c2d8b3e0590f0b74bea23ab802e706046939e (patch) | |
tree | 2ec704f1e7eebcbe4de464098d4bfff9548a82ab /configure.ac | |
parent | 4202b17666d4ccba825e204e142bc7e294a3ec86 (diff) |
Revert "Do not override environment CFLAGS and CXXFLAGS"
This reverts commit 80ebd60e7ca3c48a19b94ddaeebb23182b703178. 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.)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 1b99702fe..3a24053bb 100644 --- a/configure.ac +++ b/configure.ac @@ -55,6 +55,8 @@ if test "$sys_name" = sunos; then fi +CFLAGS= +CXXFLAGS= AC_PROG_CC AC_PROG_CXX |