summaryrefslogtreecommitdiff
path: root/qpid/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
commitf4a7a877503153fc312583d77b70e46a71ae5fb9 (patch)
tree442fea0d74296a1247e1167ce0c70f8a143a27a6 /qpid/cpp/options.mk
parentbde6aedc39db462710e9d2c22dbf079427177600 (diff)
downloadqpid-python-f4a7a877503153fc312583d77b70e46a71ae5fb9.tar.gz
Misc. cleanup.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@469753 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/options.mk')
-rw-r--r--qpid/cpp/options.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/qpid/cpp/options.mk b/qpid/cpp/options.mk
index fec94c4fba..a98c42666c 100644
--- a/qpid/cpp/options.mk
+++ b/qpid/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