]> git.pld-linux.org Git - packages/lm_sensors.git/blame - lm_sensors-make.patch
- readded (updated) make patch, now OPTS are used
[packages/lm_sensors.git] / lm_sensors-make.patch
CommitLineData
b71867de
JB
1--- lm_sensors-3.0.1/Makefile.orig 2008-01-19 11:20:45.000000000 +0100
2+++ lm_sensors-3.0.1/Makefile 2008-04-28 19:31:14.999736011 +0200
3@@ -54,7 +54,7 @@
4 # library files (both static and shared) will be installed.
5 LIBDIR := $(PREFIX)/lib
6
7-EXLDFLAGS := -Wl,-rpath,$(LIBDIR)
8+EXLDFLAGS :=
9
10 # You should not need to change this. It is the directory into which the
11 # executable program files will be installed. BINDIR for programs that are
12@@ -130,13 +130,12 @@
6f93b642
JB
13 # ARCPPFLAGS/ARCFLAGS are used to create archive object files (static libraries).
14 # LIBCPPFLAGS/LIBCFLAGS are for shared library objects.
b71867de 15 ALL_CPPFLAGS := -I.
3105c847 16-ALL_CFLAGS := -Wall
6f93b642
JB
17+OPTS = -O2
18+ALL_CFLAGS := -Wall $(OPTS)
19
20 ifeq ($(DEBUG),1)
21 ALL_CPPFLAGS += -DDEBUG
3105c847
JB
22-ALL_CFLAGS += -O -g
23-else
24-ALL_CFLAGS += -O2
b71867de 25+ALL_CFLAGS += -g
3105c847
JB
26 endif
27
28 ifeq ($(WARN),1)
This page took 0.149151 seconds and 4 git commands to generate.