use += in config.mk for make variables so system config is respected

This commit is contained in:
mar77i
2015-06-25 10:46:30 +02:00
parent 7f2c13ce77
commit 27aad93a2f

View File

@@ -32,6 +32,12 @@ prepare() {
-e '/char worddelimiters/s/= .*/= " '"'"'`\\\"()[]{}<>|";/' \ -e '/char worddelimiters/s/= .*/= " '"'"'`\\\"()[]{}<>|";/' \
-e '/int defaultcs/s/= .*/= 1;/' \ -e '/int defaultcs/s/= .*/= 1;/' \
-i config.def.h -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 sed '/@tic/d' -i Makefile
} }