summaryrefslogtreecommitdiff
path: root/package/dmidecode/patches/patch-Makefile.orig
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2012-04-03 17:05:35 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2012-04-03 17:05:35 +0200
commitaffdd5dff82289e9da4c29737ec66b563e14daa7 (patch)
tree0525fb417f409467e558baa7a22df6ab818ce67c /package/dmidecode/patches/patch-Makefile.orig
parentb9cc51c4c2c315f508459cea7da1d8433333d7a1 (diff)
parent41db567455a283a26e9fda82a5da3d44288122f3 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/dmidecode/patches/patch-Makefile.orig')
-rw-r--r--package/dmidecode/patches/patch-Makefile.orig8
1 files changed, 5 insertions, 3 deletions
diff --git a/package/dmidecode/patches/patch-Makefile.orig b/package/dmidecode/patches/patch-Makefile.orig
index fcd3c6dd7..cf37262cb 100644
--- a/package/dmidecode/patches/patch-Makefile.orig
+++ b/package/dmidecode/patches/patch-Makefile.orig
@@ -1,14 +1,16 @@
--- dmidecode-2.11.orig/Makefile 2010-10-11 16:08:16.000000000 +0200
-+++ dmidecode-2.11/Makefile 2011-10-17 19:21:58.000000000 +0200
-@@ -12,7 +12,7 @@
++++ dmidecode-2.11/Makefile 2011-10-17 19:22:27.000000000 +0200
+@@ -12,8 +12,8 @@
# (at your option) any later version.
#
-CC = gcc
+-CFLAGS = -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \
+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
@@ -26,7 +26,7 @@ CFLAGS += -O2
LDFLAGS =