summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--contrib/a52dec/module.defs5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/a52dec/module.defs b/contrib/a52dec/module.defs
index 5f53fa0cf..4354366b7 100644
--- a/contrib/a52dec/module.defs
+++ b/contrib/a52dec/module.defs
@@ -5,4 +5,9 @@ A52DEC.FETCH.url = http://download.handbrake.fr/handbrake/contrib/a52dec-0.7.4.t
A52DEC.EXTRACT.tarbase = a52dec
A52DEC.INSTALL.strip = liba52.a
+# a52dec overrides whatever optimization flags you try to set :(
+ifeq (max,$(GCC.g))
+ A52DEC.CONFIGURE.env.CFLAGS = CFLAGS="-g"
+endif
+
A52DEC.CONFIGURE.bootstrap = rm -fr aclocal.m4 autom4te.cache; autoreconf -fiv;