summaryrefslogtreecommitdiff
path: root/cpp/options-rhel3.mk
diff options
context:
space:
mode:
authorSteven Shaw <steshaw@apache.org>2006-11-21 19:08:47 +0000
committerSteven Shaw <steshaw@apache.org>2006-11-21 19:08:47 +0000
commitf71389d39b73c7e7fef7b7e81aa6d7da397ff286 (patch)
tree74e1db9114f225f68b2cab8da7453c0d0c3393f4 /cpp/options-rhel3.mk
parenta877a328957da2bf751edb8a50d08b19785b924e (diff)
downloadqpid-python-f71389d39b73c7e7fef7b7e81aa6d7da397ff286.tar.gz
QPID-120 Enabled qpid-cpp to build on RHEL3 with less pain.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@477826 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/options-rhel3.mk')
-rw-r--r--cpp/options-rhel3.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/cpp/options-rhel3.mk b/cpp/options-rhel3.mk
new file mode 100644
index 0000000000..c84cab94b1
--- /dev/null
+++ b/cpp/options-rhel3.mk
@@ -0,0 +1,20 @@
+#
+# Expects dependencies in ~/local
+#
+
+RELEASE := 1
+
+# Configure Boost.
+BOOST_CXXFLAGS := -I$(HOME)/local/boost-1.33.1/include/boost-1_33_1
+CXXFLAGS := $(CXXFLAGS) $(BOOST_CXXFLAGS)
+
+# Configure CppUnit.
+CPPUNIT_CFLAGS := `cppunit-config --cflags`
+CPPUNIT_LDFLAGS := `cppunit-config --libs`
+CXXFLAGS := $(CXXFLAGS) $(CPPUNIT_CFLAGS)
+
+#
+# RedHat Enterprise 3 g++ can't handle -Wextra etc so remove them.
+#
+
+WARN := -Werror -pedantic -Wall -Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wno-system-headers