surf: unbreak cross compilation.
This commit is contained in:
parent
ef79ae8af3
commit
c8df759fba
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ distfiles="http://dl.suckless.org/surf/$pkgname-$version.tar.gz"
|
|||
checksum=fdc1ccfaee5c4f008eeb8fe5f9200d3ad71296e8d7af52bdd6a771f111866805
|
||||
|
||||
do_build() {
|
||||
sed -i 's,/usr/include,,g;s,/usr/lib,,g' config.mk
|
||||
sed -i "/CFLAGS/s|\${CPPFLAGS}|& $CFLAGS|g" config.mk
|
||||
sed -i "/LDFLAGS/s|\-s|$LDFLAGS|g" config.mk
|
||||
make CC=$CC ${makejobs}
|
||||
|
|
Loading…
Reference in a new issue