sinit-git: use our *FLAGS
This commit is contained in:
parent
b997f8d930
commit
30d788e84c
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'sinit-git'
|
# Template file for 'sinit-git'
|
||||||
pkgname=sinit-git
|
pkgname=sinit-git
|
||||||
version=20140705
|
version=20140803
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
hostmakedepends="git"
|
hostmakedepends="git"
|
||||||
|
@ -20,6 +20,9 @@ do_fetch() {
|
||||||
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