ppp: Honour LDFLAGS

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer 2016-10-19 02:31:52 +02:00
parent 9bf29b741c
commit e5f225d6ae
1 changed files with 2 additions and 5 deletions

View File

@ -5,7 +5,7 @@
name = ppp
version = 2.4.6
release = 2
release = 3
groups = System/Daemons
url = http://ppp.samba.org/
@ -32,9 +32,6 @@ build
systemd-units
end
# Explicitely add -fPIC to CFLAGS.
CFLAGS += -fPIC
prepare_cmds
sed -e "s@^RUNDIR .*@RUNDIR = /run/ppp@" \
-e "s@^LOGDIR .*@LOGDIR = /var/log/ppp@" \
@ -48,7 +45,7 @@ build
end
make_build_targets += \
CC="gcc %{CFLAGS}"
CC="gcc %{CFLAGS} %{LDFLAGS}"
install
make install INSTROOT=%{BUILDROOT}