]> git.sven.stormbind.net Git - sven/jattach.git/blobdiff - debian/patches/do-not-override-CFLAGS
use CFLAGS from environment
[sven/jattach.git] / debian / patches / do-not-override-CFLAGS
diff --git a/debian/patches/do-not-override-CFLAGS b/debian/patches/do-not-override-CFLAGS
new file mode 100644 (file)
index 0000000..a5b351f
--- /dev/null
@@ -0,0 +1,15 @@
+Description: do not override CFLAGS
+ By default the Makefile ignores the CFLAGS as
+ exported by dh.
+Author: Sven Hoexter <hoexter@debian.org>
+
+--- 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