]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blobdiff - aiccu/patches/0004-skip-strip.patch
aiccu: Import various patches
[people/stevee/ipfire-3.x.git] / aiccu / patches / 0004-skip-strip.patch
diff --git a/aiccu/patches/0004-skip-strip.patch b/aiccu/patches/0004-skip-strip.patch
new file mode 100644 (file)
index 0000000..64584fe
--- /dev/null
@@ -0,0 +1,33 @@
+From a7a2c3ca751495a36e5ddde5a23f356f56726504 Mon Sep 17 00:00:00 2001
+From: Reinier Haasjes <reinier@haasjes.com>
+Date: Fri, 17 Aug 2012 11:29:39 +0200
+Subject: [PATCH 04/10] skip strip
+
+We handle stripping of the binary through dh_strip, thus remove the
+upstream code handling that, which does not care about our Debian
+build options.
+
+Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
+---
+ unix-console/Makefile | 5 -----
+ 1 file changed, 5 deletions(-)
+
+diff --git a/unix-console/Makefile b/unix-console/Makefile
+index d5e5c07..f746cac 100755
+--- a/unix-console/Makefile
++++ b/unix-console/Makefile
+@@ -145,11 +145,6 @@ all: aiccu
+ aiccu:        $(OBJS) ${SRCS} ${INCS}
+       $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS)
+-ifeq ($(shell echo $(CFLAGS) | grep -c "DEBUG"),0)
+-ifeq ($(shell echo "$(RPM_OPT_FLAGS)" | wc -c),1)
+-      strip $@
+-endif
+-endif
+ clean:
+       $(RM) -f $(OBJS) aiccu
+-- 
+1.8.1
+