From e8eb3ee482a1d17ffc21d29440c3388e8af3b8cb Mon Sep 17 00:00:00 2001 From: Ypnose Date: Sun, 3 Aug 2014 15:00:56 +0200 Subject: [PATCH] sinit: use our *FLAGS --- srcpkgs/sinit/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/sinit/template b/srcpkgs/sinit/template index 2fca5f1d089..0642a6148be 100644 --- a/srcpkgs/sinit/template +++ b/srcpkgs/sinit/template @@ -1,7 +1,7 @@ # Template file for 'sinit' pkgname=sinit version=0.9 -revision=2 +revision=3 build_style=gnu-makefile replaces="sinit>=0" short_desc="A simple init, initially based on Rich Felker’s minimal init" @@ -14,6 +14,9 @@ checksum=2d963e558ae272564c1360b8318e425aa6a69011d562b8e625860f363f8217af pre_build() { LD=$CC cp ${FILESDIR}/config.h config.h + sed -i 's|^CPPFLAGS =|CPPFLAGS +=|g' config.mk + sed -i 's|^CFLAGS =|CFLAGS +=|g' config.mk + sed -i 's|^LDFLAGS =|LDFLAGS +=|g' config.mk } post_install() {