lm-sensors: Proper use compiler and linker flags during build time
Those flags are required during build time and not during installation. Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
parent
281c7352ce
commit
2fec7288a7
|
@ -5,7 +5,7 @@
|
|||
|
||||
name = lm-sensors
|
||||
version = 3.6.0
|
||||
release = 1
|
||||
release = 2
|
||||
thisapp = %{name}-3-6-0
|
||||
|
||||
groups = Applications/Statistics
|
||||
|
@ -27,14 +27,19 @@ build
|
|||
rrdtool-devel
|
||||
end
|
||||
|
||||
make_build_targets += \
|
||||
CFLAGS="%{CFLAGS}" \
|
||||
LDFLAGS="%{LDFLAGS}" \
|
||||
EXLDFLAGS="%{LDFLAGS}" \
|
||||
BUILD_STATIC_LIB=0 \
|
||||
PROG_EXTRA=sensord
|
||||
|
||||
make_install_targets += \
|
||||
PREFIX=%{prefix} \
|
||||
LIBDIR=%{libdir} \
|
||||
MANDIR=%{mandir} \
|
||||
PROG_EXTRA=sensord \
|
||||
BUILD_STATIC_LIB=0 \
|
||||
CFLAGS="%{CFLAGS}" \
|
||||
EXLDFLAGS="%{LDFLAGS}"
|
||||
PROG_EXTRA=sensord
|
||||
end
|
||||
|
||||
packages
|
||||
|
|
Loading…
Reference in New Issue