summaryrefslogtreecommitdiff
path: root/packages/icewm/icewm-1.2.30/makefile.patch
diff options
context:
space:
mode:
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)
################################################################################