sinit: use our *FLAGS
This commit is contained in:
parent
30d788e84c
commit
e8eb3ee482
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'sinit'
|
# Template file for 'sinit'
|
||||||
pkgname=sinit
|
pkgname=sinit
|
||||||
version=0.9
|
version=0.9
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
replaces="sinit>=0"
|
replaces="sinit>=0"
|
||||||
short_desc="A simple init, initially based on Rich Felker’s minimal init"
|
short_desc="A simple init, initially based on Rich Felker’s minimal init"
|
||||||
|
@ -14,6 +14,9 @@ checksum=2d963e558ae272564c1360b8318e425aa6a69011d562b8e625860f363f8217af
|
||||||
pre_build() {
|
pre_build() {
|
||||||
LD=$CC
|
LD=$CC
|
||||||
cp ${FILESDIR}/config.h config.h
|
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() {
|
post_install() {
|
||||||
|
|
Loading…
Reference in New Issue