name = ppp
version = 2.4.6
-release = 1
+release = 3
groups = System/Daemons
url = http://ppp.samba.org/
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@" \
end
make_build_targets += \
- CC="gcc %{CFLAGS}"
+ CC="gcc %{CFLAGS} %{LDFLAGS}"
install
make install INSTROOT=%{BUILDROOT}