scron: use our {C,LD}FLAGS

This commit is contained in:
Ypnose 2014-12-14 11:18:40 +00:00
parent 198b081a55
commit e22e6d855f

View file

@ -1,7 +1,7 @@
# Template file for 'scron' # Template file for 'scron'
pkgname=scron pkgname=scron
version=0.3.2 version=0.3.2
revision=3 revision=4
build_style=gnu-makefile build_style=gnu-makefile
short_desc="Simple cron daemon" short_desc="Simple cron daemon"
maintainer="Ypnose <linuxienATlegtuxDOTorg>" maintainer="Ypnose <linuxienATlegtuxDOTorg>"
@ -16,6 +16,9 @@ conf_files="/etc/crontab"
pre_build() { pre_build() {
# STFU gcc # STFU gcc
sed -i 's|BSD_SOURCE|DEFAULT_SOURCE|g' Makefile sed -i 's|BSD_SOURCE|DEFAULT_SOURCE|g' Makefile
sed -i 's|^CC|#CC|g' Makefile
sed -i 's|^CFLAGS|#CFLAGS|g' Makefile
sed -i 's|^LDFLAGS|#LDFLAGS|g' Makefile
} }
do_install() { do_install() {