From ceca790acf456f95a0b5275d1db8ee2bfa53bed5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 19 May 2014 18:01:43 +0200 Subject: Imported Debian patch 2.12-3 --- debian/patches/03-build.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 debian/patches/03-build.patch (limited to 'debian/patches/03-build.patch') 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 +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 -- cgit v1.2.3