From f71389d39b73c7e7fef7b7e81aa6d7da397ff286 Mon Sep 17 00:00:00 2001 From: Steven Shaw Date: Tue, 21 Nov 2006 19:08:47 +0000 Subject: 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 --- cpp/options-rhel3.mk | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 cpp/options-rhel3.mk (limited to 'cpp/options-rhel3.mk') 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 -- cgit v1.2.1