X-Git-Url: http://git.ieval.ro/?p=filters.git;a=blobdiff_plain;f=debian%2Fpatches%2Fnostrip.patch;fp=debian%2Fpatches%2Fnostrip.patch;h=8d9d0e501f80e9e9e60174dbd6fbedaaa3d815db;hp=0000000000000000000000000000000000000000;hb=e29d35167a012b427da9c6c8b2b3fc05c458d852;hpb=73b8db9665d9bb13586bb4739b438a5a8ebf2a16 diff --git a/debian/patches/nostrip.patch b/debian/patches/nostrip.patch new file mode 100644 index 0000000..8d9d0e5 --- /dev/null +++ b/debian/patches/nostrip.patch @@ -0,0 +1,21 @@ +From: Helmut Grohne +Subject: defer stripping to dh_strip + +Doing otherwise breaks cross building and -dbgsym packages. + +Index: filters-2.55/Makefile +=================================================================== +--- filters-2.55.orig/Makefile ++++ filters-2.55/Makefile +@@ -9,11 +9,6 @@ + export CFLAGS + INSTALL_PROGRAM = install + +-# DEB_BUILD_OPTIONS suport, to control binary stripping. +-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) +-INSTALL_PROGRAM += -s +-endif +- + all: $(OTHER) $(BUILD) + + install: $(BUILD) $(OTHER)