[vlc-devel] [PATCH 10/22] contribs: only force ass optimizations when WITH_OPTIMIZATION is set
Steve Lhomme
robux4 at gmail.com
Fri Jul 31 16:54:54 CEST 2015
otherwise bring the debug symbols
---
contrib/src/ass/rules.mak | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/contrib/src/ass/rules.mak b/contrib/src/ass/rules.mak
index 4d7fb53..aa84ff7 100644
--- a/contrib/src/ass/rules.mak
+++ b/contrib/src/ass/rules.mak
@@ -59,8 +59,14 @@ else
ASS_CONF += --disable-harfbuzz
endif
+ifdef WITH_OPTIMIZATION
+ASS_CFLAGS += -O3
+else
+ASS_CFLAGS += -g
+endif
+
.ass: libass
$(RECONF)
- cd $< && $(HOSTVARS) CFLAGS="$(CFLAGS) -O3" ./configure $(HOSTCONF) $(ASS_CONF)
+ cd $< && $(HOSTVARS) CFLAGS="$(CFLAGS) $(ASS_CFLAGS)" ./configure $(HOSTCONF) $(ASS_CONF)
cd $< && $(MAKE) install
touch $@
--
2.4.2
More information about the vlc-devel
mailing list