Imported Debian patch 20070115-10
[aiccu.git] / debian / patches / 02_skip-strip.patch
blob1873057dfd3f0a620a92b4ee4b34b9ad5f0634f6
1 We handle stripping of the binary through dh_strip, thus remove the
2 upstream code handling that, which does not care about our Debian
3 build options.
5 Index: aiccu-20070115/unix-console/Makefile
6 ===================================================================
7 --- aiccu-20070115.orig/unix-console/Makefile 2009-10-25 22:31:57.000000000 +0100
8 +++ aiccu-20070115/unix-console/Makefile 2009-10-25 22:32:04.000000000 +0100
9 @@ -145,11 +145,6 @@
11 aiccu: $(OBJS) ${SRCS} ${INCS}
12 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS)
13 -ifeq ($(shell echo $(CFLAGS) | grep -c "DEBUG"),0)
14 -ifeq ($(shell echo "$(RPM_OPT_FLAGS)" | wc -c),1)
15 - strip $@
16 -endif
17 -endif
19 clean:
20 $(RM) -f $(OBJS) aiccu