From adbca933e21da6ff44949e6ce2ca3604622768e6 Mon Sep 17 00:00:00 2001 From: David Brodsky Date: Mon, 25 Dec 2006 11:26:08 +0100 Subject: [PATCH] Use CCFLAGS and LDFLAGS from the environment. --- Jamrules | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Jamrules b/Jamrules index 3c00777..9e52c66 100644 --- a/Jamrules +++ b/Jamrules @@ -7,6 +7,9 @@ CC = $(C++) ; LINK = g++ ; PYTHON = python ; +C++FLAGS = $(CCFLAGS) ; +LINKFLAGS = -Wl,--export-dynamic $(LDFLAGS) ; + LIBSDIR = "/usr/local/lib/tairon" ; if $(NODEBUG) { @@ -20,11 +23,8 @@ if $(NODEBUG) { } DEFINES = _REENTRANT LOGLEVEL=$(LOGLEVEL) TIXML_USE_STL ; -HDRS = ; OPTIM = ; SHAREDFLAG = -shared ; -LINKFLAGS = -Wl,--export-dynamic ; - rule BuildLibrary { @@ -62,7 +62,7 @@ rule C++ CcMv $(<) : $(>) ; } - C++FLAGS on $(<) += $(C++FLAGS) $(SUBDIRC++FLAGS) $(OPTIM) ; + C++FLAGS on $(<) += $(C++FLAGS) $(OPTIM) ; # Include only specified headers. CCHDRS on $(<) += [ on $(<) FIncludes $(HEADERS) ] ; -- 2.11.4.GIT