[vlc-devel] [PATCH] contribs: Force optimizations flags
Hugo Beauzée-Luyssen
hugo at beauzee.fr
Tue May 17 11:51:19 CEST 2016
Some packages aren't forcing those, leading to a bunch of contribs being
built without any kind of optimizations.
---
contrib/src/main.mak | 3 +++
1 file changed, 3 insertions(+)
diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 8d94b64..481d366 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -177,6 +177,9 @@ LDFLAGS := $(LDFLAGS) $(EXTRA_LDFLAGS)
ifndef WITH_OPTIMIZATION
CFLAGS := $(CFLAGS) -O0
CXXFLAGS := $(CXXFLAGS) -O0
+else
+CFLAGS := $(CFLAGS) -O3
+CXXFLAGS := $(CXXFLAGS) -O3
endif
# Do not export those! Use HOSTVARS.
--
2.8.1
More information about the vlc-devel
mailing list