summaryrefslogtreecommitdiff
path: root/packages/icewm/icewm-1.2.30/makefile.patch
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-06-07 18:47:28 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-06-07 18:47:28 +0000
commite70e6eec84b5ada3283b5489325a676f9c5a7f05 (patch)
tree90b05fb5f4cf7d9c53dce3526911a4b820768ee9 /packages/icewm/icewm-1.2.30/makefile.patch
parentdc5badca3d35f936648529a0c22b1ff4d6a86477 (diff)
icewm 1.2.30 fix build. close #1324
Diffstat (limited to 'packages/icewm/icewm-1.2.30/makefile.patch')
-rw-r--r--packages/icewm/icewm-1.2.30/makefile.patch13
1 files changed, 5 insertions, 8 deletions
diff --git a/packages/icewm/icewm-1.2.30/makefile.patch b/packages/icewm/icewm-1.2.30/makefile.patch
index 9473c9b2a9..753f6a57a2 100644
--- a/packages/icewm/icewm-1.2.30/makefile.patch
+++ b/packages/icewm/icewm-1.2.30/makefile.patch
@@ -1,26 +1,23 @@
--- ./src/Makefile.in 2005-02-01 21:56:08.000000000 +0100
+++ ./src/Makefile.in 2005-02-01 21:55:12.000000000 +0100
-@@ -206,10 +206,21 @@
+@@ -206,10 +206,18 @@
%.o: %.cc
@echo " CXX " $@
@$(CXX) $(CXXFLAGS) $(GCCDEP) -c $<
-
-genpref $(BINARIES):
+
-+HOSTCXX=g++
-+HOSTLD=g++
-+
+genpref.o: genpref.cc
-+ @echo " HOSTCXX " $@
-+ @$(HOSTCXX) $(CXXFLAGS) $(GCCDEP) -c $<
++ @echo " BUILD_CXX " $@
++ @$(BUILD_CXX) $(BUILD_CXXFLAGS) $(DEBUG) $(DEFS) $(GCCDEP) -c $<
+
+$(BINARIES):
@echo " LD " $@
@$(LD) -o $@$(EXEEXT) $($@_OBJS) $(LFLAGS) $($@_LFLAGS) $(LIBS) $($@_LIBS)
+
+genpref:
-+ @echo " HOSTLD " $@
-+ @$(HOSTLD) -o $@$(EXEEXT) $($@_OBJS) $(LFLAGS) $($@_LFLAGS) $(LIBS) $($@_LIBS)
++ @echo " BUILD_CXX " $@
++ @$(BUILD_CXX) $(BUILD_LDFLAGS) -o $@$(EXEEXT) $($@_OBJS) $(LIBS) $($@_LIBS)
################################################################################