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=0000000000000000000000000000000000000000;hp=50774fc2e53ce9b4e0bd6e2c18fbe0a88d363299;hb=571da1c9003ce8cb2b2185e0cfae8b4afc6155a5;hpb=11dcab2ca4486b3697b5ac11def4b9ac280da150 diff --git a/debian/patches/do-not-override-CFLAGS b/debian/patches/do-not-override-CFLAGS deleted file mode 100644 index 50774fc..0000000 --- a/debian/patches/do-not-override-CFLAGS +++ /dev/null @@ -1,27 +0,0 @@ -Description: do not override CFLAGS - By default the Makefile ignores the CFLAGS as - exported by dh. -Author: Sven Hoexter - -Index: jattach/Makefile -=================================================================== ---- jattach.orig/Makefile -+++ jattach/Makefile -@@ -16,7 +16,7 @@ else - SOURCES=$(RPM_ROOT)/SOURCES - SPEC_FILE=jattach.spec - CC=gcc -- CFLAGS=-O2 -+ CFLAGS ?= -O2 - JATTACH_EXE=jattach - endif - endif -@@ -27,7 +27,7 @@ build: - mkdir -p build - - build/jattach: src/jattach_posix.c -- $(CC) $(CFLAGS) -DJATTACH_VERSION=\"$(JATTACH_VERSION)\" -o $@ $^ -+ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -DJATTACH_VERSION=\"$(JATTACH_VERSION)\" -o $@ $^ - - build/jattach.exe: src/jattach_windows.c - $(CL) $(CFLAGS) /DJATTACH_VERSION=\"$(JATTACH_VERSION)\" /Fobuild/jattach.obj /Fe$@ $^ advapi32.lib /link /SUBSYSTEM:CONSOLE,5.02