From 1f3f8daeb93ccc331a3ff660657a603077bc6e87 Mon Sep 17 00:00:00 2001 From: Will Andrews Date: Fri, 7 Apr 2000 01:34:34 +0000 Subject: Smack tmake into allowing environment-override C(C,XX) as well as C(XX)FLAGS. Also make it look in the right directory for Qt includes. This commit is required for me to update twinlib. --- devel/tmake/files/patch-aa | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 devel/tmake/files/patch-aa (limited to 'devel/tmake/files/patch-aa') diff --git a/devel/tmake/files/patch-aa b/devel/tmake/files/patch-aa new file mode 100644 index 000000000000..aa4a6a439a8a --- /dev/null +++ b/devel/tmake/files/patch-aa @@ -0,0 +1,17 @@ +--- lib/unix/generic.t Fri Jul 30 08:55:18 1999 ++++ lib/unix/generic.t.new Thu Apr 6 20:43:17 2000 +@@ -150,10 +150,10 @@ + + ####### Compiler, tools and options + +-CC = #$ Expand("TMAKE_CC"); +-CXX = #$ Expand("TMAKE_CXX"); +-CFLAGS = #$ Expand("TMAKE_CFLAGS"); ExpandGlue("DEFINES","-D"," -D",""); +-CXXFLAGS= #$ Expand("TMAKE_CXXFLAGS"); ExpandGlue("DEFINES","-D"," -D",""); ++CC ?= #$ Expand("TMAKE_CC"); ++CXX ?= #$ Expand("TMAKE_CXX"); ++CFLAGS ?= #$ Expand("TMAKE_CFLAGS"); ExpandGlue("DEFINES","-D"," -D",""); ++CXXFLAGS?= #$ Expand("TMAKE_CXXFLAGS"); ExpandGlue("DEFINES","-D"," -D",""); + INCPATH = #$ ExpandPath("INCPATH","-I"," -I",""); + #$ Config("staticlib") && DisableOutput(); + LINK = #$ Expand("TMAKE_LINK"); -- cgit v1.2.3