]> git.pld-linux.org Git - packages/lm_sensors.git/blob - lm_sensors-make.patch
- libsysfs is no longer used
[packages/lm_sensors.git] / lm_sensors-make.patch
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 @@
13  # ARCPPFLAGS/ARCFLAGS are used to create archive object files (static libraries).
14  # LIBCPPFLAGS/LIBCFLAGS are for shared library objects.
15  ALL_CPPFLAGS := -I.
16 -ALL_CFLAGS := -Wall
17 +OPTS = -O2
18 +ALL_CFLAGS := -Wall $(OPTS)
19  
20  ifeq ($(DEBUG),1)
21  ALL_CPPFLAGS += -DDEBUG
22 -ALL_CFLAGS += -O -g
23 -else
24 -ALL_CFLAGS += -O2
25 +ALL_CFLAGS += -g
26  endif
27  
28  ifeq ($(WARN),1)
This page took 0.047013 seconds and 3 git commands to generate.