[vlc-devel] [PATCH] configure: initialize enable_optimizations to no

Steve Lhomme robux4 at ycbcr.xyz
Thu Jan 23 16:20:38 CET 2020


Since it's tested against this value it should be set to this value when needed
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 0d7af8a01ea..677988159c1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1111,7 +1111,7 @@ dnl  Enable/disable optimizations
 dnl
 AC_ARG_ENABLE([optimizations],
   AS_HELP_STRING([--disable-optimizations],
-    [disable compiler optimizations (default enabled)]),,
+    [disable compiler optimizations (default enabled)]),[enable_optimizations="no"],
   [enable_optimizations="yes"])
 
 dnl Check for various optimization flags
-- 
2.17.1



More information about the vlc-devel mailing list