blob: 7ce93b9900b703e9ff0229e3c2cb91db8dced86d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
--- dmidecode-2.11.orig/Makefile 2010-10-11 16:08:16.000000000 +0200
+++ dmidecode-2.11/Makefile 2012-03-28 11:31:33.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 \
-Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef
#CFLAGS += -DBIGENDIAN
#CFLAGS += -DALIGNMENT_WORKAROUND
@@ -23,10 +23,10 @@ CFLAGS += -O2
#CFLAGS += -g
# Pass linker flags here
-LDFLAGS =
+LDFLAGS ?=
DESTDIR =
-prefix = /usr/local
+prefix = /usr
sbindir = $(prefix)/sbin
mandir = $(prefix)/share/man
man8dir = $(mandir)/man8
|