summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-23 20:44:22 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-23 20:44:22 +0100
commita0ad2f92a9133af67883899615eeb760f47f8bff (patch)
treea995b2811d88bc942105fe5b709bc349513401c7 /package
parent6212b234c5d64e152e5ba8f86f66dc72ea1794c3 (diff)
make optimiztion compiler flags configurable, default -Os -pipe
Diffstat (limited to 'package')
-rw-r--r--package/asterisk/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/asterisk/Makefile b/package/asterisk/Makefile
index 051ad3ea3..e43b4d275 100644
--- a/package/asterisk/Makefile
+++ b/package/asterisk/Makefile
@@ -105,7 +105,7 @@ TARGET_LDFLAGS+= -lm -ltinfo -ldl -lpthread
MAKE_ENV= ASTCFLAGS="${TARGET_CPPFLAGS} -DHAVE_STRTOQ" \
ASTLDFLAGS="${TARGET_LDFLAGS}"
MAKE_FLAGS+= DESTDIR="$(WRKINST)" \
- OPTIMIZE="${TARGET_OPTIMIZATION}" \
+ OPTIMIZE="${TARGET_CFLAGS}" \
NOISY_BUILD=1
ALL_TARGET:= all install samples