summaryrefslogtreecommitdiffstats
path: root/rules/vo-aacenc.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2014-06-08 08:47:28 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2014-06-08 11:04:19 +0200
commitd884bcffe512717984ef91824298ca99269966ef (patch)
tree909ee9cee2b57165466e4e828e8e5375f07218f1 /rules/vo-aacenc.make
parent02454da73c502838fd8292415f52fb188dae0efa (diff)
downloadptxdist-d884bcffe512717984ef91824298ca99269966ef.tar.gz
ptxdist-d884bcffe512717984ef91824298ca99269966ef.tar.xz
vo-aacenc: add cflags via VO_AACENC_CFLAGS
Adding CFLAGS= to the configure environment is problematic because many configure scrips (including the one from vo-aacenc) drop the default cflags "-g -O2" in that case. Use the newly introduced <PKG>_CFLAGS instead. Also, -mfpu=neon is now set for all packages when PTXCONF_ARCH_ARM_NEON is enabled. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/vo-aacenc.make')
-rw-r--r--rules/vo-aacenc.make5
1 files changed, 1 insertions, 4 deletions
diff --git a/rules/vo-aacenc.make b/rules/vo-aacenc.make
index 0cc7a82e9..336780e26 100644
--- a/rules/vo-aacenc.make
+++ b/rules/vo-aacenc.make
@@ -41,10 +41,7 @@ VO_AACENC_CONF_OPT := \
--disable-static
ifdef PTXCONF_ARCH_ARM
-VO_AACENC_CONF_ENV := $(CROSS_ENV) CFLAGS="$(CROSS_CFLAGS) -marm"
-ifdef PTXCONF_ARCH_ARM_NEON
-VO_AACENC_CONF_ENV := $(CROSS_ENV) CFLAGS="$(CROSS_CFLAGS) -marm -mfpu=neon"
-endif
+VO_AACENC_CFLAGS := -marm
endif
# ----------------------------------------------------------------------------