From 27aad93a2f5635d9ce9cebbf61b6947f90712151 Mon Sep 17 00:00:00 2001 From: mar77i Date: Thu, 25 Jun 2015 10:46:30 +0200 Subject: use += in config.mk for make variables so system config is respected --- PKGBUILD | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/PKGBUILD b/PKGBUILD index fc9cf60..b68e76f 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -32,6 +32,12 @@ prepare() { -e '/char worddelimiters/s/= .*/= " '"'"'`\\\"()[]{}<>|";/' \ -e '/int defaultcs/s/= .*/= 1;/' \ -i config.def.h + sed \ + -e 's/CPPFLAGS =/CPPFLAGS +=/g' \ + -e 's/CFLAGS =/CFLAGS +=/g' \ + -e 's/LDFLAGS =/LDFLAGS +=/g' \ + -e 's/_BSD_SOURCE/_DEFAULT_SOURCE/' \ + -i config.mk sed '/@tic/d' -i Makefile } -- cgit v1.2.3