diff options
Diffstat (limited to 'debian/patches/06-build.patch')
-rw-r--r-- | debian/patches/06-build.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/patches/06-build.patch b/debian/patches/06-build.patch new file mode 100644 index 0000000..fa40373 --- /dev/null +++ b/debian/patches/06-build.patch @@ -0,0 +1,19 @@ +Author: Daniel Baumann <mail@daniel-baumann.ch> +Description: Avoid overwriting build environment. + +diff -Naurp traceroute.orig/Make.rules traceroute/Make.rules +--- traceroute.orig/Make.rules 2012-04-26 09:43:18.442365190 +0200 ++++ traceroute/Make.rules 2012-05-18 12:39:37.970036900 +0200 +@@ -46,9 +46,9 @@ $(call set, INSTALL, cp) + $(call set, INDENT, true) + + gcc = $(findstring gcc,$(CC)) +-$(call set, CFLAGS, $(if $(gcc), -O2 -Wall, -O)) +-$(call set, CPPFLAGS, ) +-$(call set, LDFLAGS, -s) ++#$(call set, CFLAGS, $(if $(gcc), -O2 -Wall, -O)) ++#$(call set, CPPFLAGS, ) ++#$(call set, LDFLAGS, -s) + $(call set, LIBS, ) + + |