packages: nforenum/nforenum-flags.patch (NEW) - new, drop unneeded opt opti...

lisu lisu at pld-linux.org
Tue Aug 17 09:37:05 CEST 2010


Author: lisu                         Date: Tue Aug 17 07:37:05 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new, drop unneeded opt options, proper flags passing order

---- Files affected:
packages/nforenum:
   nforenum-flags.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/nforenum/nforenum-flags.patch
diff -u /dev/null packages/nforenum/nforenum-flags.patch:1.1
--- /dev/null	Tue Aug 17 09:37:05 2010
+++ packages/nforenum/nforenum-flags.patch	Tue Aug 17 09:36:59 2010
@@ -0,0 +1,29 @@
+--- nforenum-4.0.0-source/Makefile~	2010-08-14 21:47:40.000000000 +0200
++++ nforenum-4.0.0-source/Makefile	2010-08-17 09:27:49.050660672 +0200
+@@ -33,7 +33,7 @@
+ ifeq ($(ISCYGWIN),1)
+ FLAGS = -O1 -I $(BOOST_INCLUDE)
+ else
+-FLAGS = -O1 -idirafter$(BOOST_INCLUDE)
++FLAGS = -idirafter$(BOOST_INCLUDE)
+ endif
+ FLAGS += -Wall -Wno-uninitialized -Wsign-compare -Wwrite-strings -Wpointer-arith -W -Wno-unused-parameter -Wformat=2
+ FLAGS += -D_FORTIFY_SOURCE=2
+@@ -131,7 +131,7 @@
+ 
+ $(NFORENUM): $(NFORENUMSRC:%.cpp=objs/%.o)
+ 	$(_E) [LD] $@
+-	$(_C)$(CXX) -o $@ $(CXXFLAGS) $^ $(LDOPT)
++	$(_C)$(CXX) $(CXXFLAGS) $(LDOPT) -o $@ $^
+ 
+ 
+ clean:
+@@ -165,7 +165,7 @@
+ 
+ objs/%.o : src/%.cpp Makefile
+ 	$(_E) [CPP] $@
+-	$(_C)$(CXX) -c -o $@ $(CXXFLAGS) -MMD -MF $@.d -MT $@ $<
++	$(_C)$(CXX) $(CXXFLAGS) -c -o $@ -MMD -MF $@.d -MT $@ $<
+ 
+ # On some installations a version.h exists in /usr/include. This one is then
+ # found by the dependency tracker and thus the dependencies do not contain
================================================================


More information about the pld-cvs-commit mailing list