Read the bits we can from the MXF header even when it is encrypted.
[libdcp.git] / wscript
diff --git a/wscript b/wscript
index 9cce0c7953912c047f7da50e2da8d398dc867a17..97b7bf25e5d0ed930b2199ab19ceee6d0239345e 100644 (file)
--- a/wscript
+++ b/wscript
@@ -92,7 +92,7 @@ def configure(conf):
     if conf.env.TARGET_OSX:
         conf.env.append_value('CXXFLAGS', ['-Wno-unused-result', '-Wno-unused-parameter', '-Wno-unused-local-typedef'])
         conf.env.append_value('LINKFLAGS', '-headerpad_max_install_names')
-    else:
+    elif int(gcc[0]) > 4:
         conf.env.append_value('CXXFLAGS', ['-Wsuggest-override'])
 
     # Disable libxml++ deprecation warnings for now