]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
iproute2: Copy patch files into repository.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 7 Feb 2010 14:54:15 +0000 (15:54 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 7 Feb 2010 14:54:15 +0000 (15:54 +0100)
pkgs/core/iproute2/iproute2.nm
pkgs/core/iproute2/patches/iproute2-2.6.29-1-opt_flags.patch [new file with mode: 0644]

index 3b426194af113ec6617a8bb6214edd7c08ebdd39..96f35a6c2791c37befadcb755ab0c425a3b43925 100644 (file)
@@ -44,8 +44,6 @@ endef
 
 PKG_TARBALL    = $(THISAPP).tar.bz2
 
-PKG_PATCHES   += $(THISAPP)-opt_flags.patch
-
 ###############################################################################
 # Installation Details
 ###############################################################################
diff --git a/pkgs/core/iproute2/patches/iproute2-2.6.29-1-opt_flags.patch b/pkgs/core/iproute2/patches/iproute2-2.6.29-1-opt_flags.patch
new file mode 100644 (file)
index 0000000..aea7362
--- /dev/null
@@ -0,0 +1,12 @@
+diff -up iproute2-2.6.29/Makefile.opt iproute2-2.6.29/Makefile
+--- iproute2-2.6.29/Makefile.opt       2008-08-12 14:19:58.000000000 +0200
++++ iproute2-2.6.29/Makefile   2008-08-12 14:21:42.000000000 +0200
+@@ -22,7 +22,7 @@ ADDLIB+=ipx_ntop.o ipx_pton.o
+ CC = gcc
+ HOSTCC = gcc
+-CCOPTS = -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall
++CCOPTS = -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall $(OPT_FLAGS)
+ CFLAGS = $(CCOPTS) -I../include $(DEFINES)
+ YACCFLAGS = -d -t -v