about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-01-12T12·51+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-01-12T12·51+0100
commitef7c2d8b3e0590f0b74bea23ab802e706046939e (patch)
tree2ec704f1e7eebcbe4de464098d4bfff9548a82ab
parent4202b17666d4ccba825e204e142bc7e294a3ec86 (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.)
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 1b99702fedff..3a24053bb6a1 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