From 51303a3569a9328a1028d08f3f4c619f2dd2562f Mon Sep 17 00:00:00 2001 From: Bert Hubert Date: Sun, 25 Mar 2012 00:12:06 +0000 Subject: [PATCH] Sten Spans found a solution for the problem noted by Jose Arthur Benetasso Villanova that he could not override our CXXFLAGS. New behaviour is that by default you still get our CXXFLAGS of -O2 -Wall, but if you specify your own CXXFLAGS during ./configure, yours win. This means that everybody who only *added* using CXXFLAGS=-fsomething will now lose our default -O2! git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2533 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- configure.ac | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 18f9e5ad6..d2c6257e8 100644 --- a/configure.ac +++ b/configure.ac @@ -5,8 +5,7 @@ AC_CANONICAL_HOST AM_CONFIG_HEADER(config.h) AC_C_BIGENDIAN AC_PREREQ(2.52) -CXXFLAGS="$CXXFLAGS -Wall -O2" - +: ${CXXFLAGS="-Wall -O2"} AC_PREFIX_DEFAULT(/usr/local) AC_PROG_CC AC_PROG_CXX -- 2.40.0