summaryrefslogtreecommitdiff
path: root/cpp/options.mk
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2006-11-01 02:11:58 +0000
committerAlan Conway <aconway@apache.org>2006-11-01 02:11:58 +0000
commite9aa3a26157cdbcd42fd78a539dbe2bc3c7e5752 (patch)
tree09871ceb960cf38c4ac9c33b1368677a7216114e /cpp/options.mk
parentdda71d21e76e01918ebec2d80dd8e077f94216e0 (diff)
downloadqpid-python-e9aa3a26157cdbcd42fd78a539dbe2bc3c7e5752.tar.gz
Misc. cleanup.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469753 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/options.mk')
-rw-r--r--cpp/options.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/options.mk b/cpp/options.mk
index fec94c4fba..a98c42666c 100644
--- a/cpp/options.mk
+++ b/cpp/options.mk
@@ -57,8 +57,8 @@ EXTRA_LIBDIRS := -L/usr/local/apr/lib
## Compile flags
# Release vs. debug flags.
-DEBUG := -ggdb3
-RELEASE := -O3 -DNDEBUG
+CXXFLAGS_debug := -ggdb3
+CXXFLAGS_release := -O3 -DNDEBUG
# Warnings: Enable as many as possible, keep the code clean. Please
# do not disable warnings or remove -Werror without discussing on
@@ -71,7 +71,7 @@ WARN := -Werror -pedantic -Wall -Wextra -Wshadow -Wpointer-arith -Wcast-qual -Wc
INCLUDES := $(SRCDIRS:%=-I%) $(EXTRA_INCLUDES)
LDFLAGS := -L$(LIBDIR) $(LDFLAGS_$(PLATFORM))
-CXXFLAGS := $(DEFINES) $(WARN) -MMD -fpic $(INCLUDES) $(CXXFLAGS_$(PLATFORM))
+CXXFLAGS := $(DEFINES) $(WARN) -MMD -fpic $(INCLUDES) $(CXXFLAGS_$(PLATFORM)) $(CXXFLAGS_$(TYPE))
## Macros for linking, must be late evaluated