summaryrefslogtreecommitdiff
path: root/package/dmidecode/patches/patch-Makefile.orig
diff options
context:
space:
mode:
Diffstat (limited to 'package/dmidecode/patches/patch-Makefile.orig')
-rw-r--r--package/dmidecode/patches/patch-Makefile.orig20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/dmidecode/patches/patch-Makefile.orig b/package/dmidecode/patches/patch-Makefile.orig
new file mode 100644
index 000000000..fcd3c6dd7
--- /dev/null
+++ b/package/dmidecode/patches/patch-Makefile.orig
@@ -0,0 +1,20 @@
+--- 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 @@
+ # (at your option) any later version.
+ #
+
+-CC = gcc
++CC ?= gcc
+ CFLAGS = -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \
+ -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef
+ #CFLAGS += -DBIGENDIAN
+@@ -26,7 +26,7 @@ CFLAGS += -O2
+ LDFLAGS =
+
+ DESTDIR =
+-prefix = /usr/local
++prefix = /usr
+ sbindir = $(prefix)/sbin
+ mandir = $(prefix)/share/man
+ man8dir = $(mandir)/man8