summaryrefslogtreecommitdiff
path: root/debian/patches/03-build.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-05-19 18:01:43 +0200
committerJörg Frings-Fürst <jff@merkur>2014-05-19 19:33:51 +0200
commitceca790acf456f95a0b5275d1db8ee2bfa53bed5 (patch)
tree57f094b08de57aee41c6d530ea9b3c3b7461d8a4 /debian/patches/03-build.patch
parent723024faf087b48ba8b93db6821bb17f52751120 (diff)
Imported Debian patch 2.12-3debian/2.12-3
Diffstat (limited to 'debian/patches/03-build.patch')
-rw-r--r--debian/patches/03-build.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/patches/03-build.patch b/debian/patches/03-build.patch
new file mode 100644
index 0000000..158981f
--- /dev/null
+++ b/debian/patches/03-build.patch
@@ -0,0 +1,24 @@
+Author: Daniel Baumann <daniel.baumann@progress-technologies.net>
+Description: Avoid overwriting build environment rather than to just extend it.
+
+diff -Naurp dmidecode.orig/Makefile dmidecode/Makefile
+--- dmidecode.orig/Makefile 2011-10-28 21:49:16.510949714 +0200
++++ dmidecode/Makefile 2012-01-21 11:05:50.109410854 +0100
+@@ -13,7 +13,7 @@
+ #
+
+ CC = gcc
+-CFLAGS = -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \
++CFLAGS += -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \
+ -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef
+ #CFLAGS += -DBIGENDIAN
+ #CFLAGS += -DALIGNMENT_WORKAROUND
+@@ -23,7 +23,7 @@ CFLAGS += -O2
+ #CFLAGS += -g
+
+ # Pass linker flags here
+-LDFLAGS =
++#LDFLAGS =
+
+ DESTDIR =
+ prefix = /usr/local