From 262bb9f6e70c7dc48a4a604cd493582d775c9acc Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Wed, 14 May 2008 00:21:57 +0000 Subject: [PATCH] if boost=system, -I/opt/local/include/boost-1_35 -I/usr/include/python2.5 and -L/opt/local/lib are now passed on to the build command line --- Jamfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Jamfile b/Jamfile index 68c1489c4..12a493170 100755 --- a/Jamfile +++ b/Jamfile @@ -7,6 +7,8 @@ import errors ; import feature : feature ; BOOST_ROOT = [ modules.peek : BOOST_ROOT ] ; +CXXFLAGS = [ modules.peek : CXXFLAGS ] ; +LDFLAGS = [ modules.peek : LDFLAGS ] ; ECHO "BOOST_ROOT =" $(BOOST_ROOT) ; ECHO "OS =" [ os.name ] ; @@ -352,6 +354,8 @@ local usage-requirements = # disable some warnings for gcc gcc:-fno-strict-aliasing gcc:-Wno-missing-braces + system:$(CXXFLAGS) + system:$(LDFLAGS) ; project torrent ; @@ -369,6 +373,7 @@ lib torrent logging:src/$(KADEMLIA_SOURCES).cpp shipped:zlib/$(ZLIB_SOURCES).c @building + system:$(CXXFLAGS) $(usage-requirements) : # default build