X-Git-Url: https://git.sven.stormbind.net/?p=sven%2Fjattach.git;a=blobdiff_plain;f=debian%2Fpatches%2Fdo-not-override-CFLAGS;fp=debian%2Fpatches%2Fdo-not-override-CFLAGS;h=a5b351f40b6cc2fcf0739d163cfd6c9d9431e519;hp=0000000000000000000000000000000000000000;hb=e2453baae44379bfd97a3b0e02807e76fed4112b;hpb=6803695dfc497f6cabb34f11e5c6f57a53e0d2db diff --git a/debian/patches/do-not-override-CFLAGS b/debian/patches/do-not-override-CFLAGS new file mode 100644 index 0000000..a5b351f --- /dev/null +++ b/debian/patches/do-not-override-CFLAGS @@ -0,0 +1,15 @@ +Description: do not override CFLAGS + By default the Makefile ignores the CFLAGS as + exported by dh. +Author: Sven Hoexter + +--- jattach-1.5.orig/Makefile ++++ jattach-1.5/Makefile +@@ -16,7 +16,6 @@ else + SOURCES=$(RPM_ROOT)/SOURCES + SPEC_FILE=jattach.spec + CC=gcc +- CFLAGS=-O2 + JATTACH_EXE=jattach + endif + endif