Force C++11 for the libdcp and libsub builds.
authorCarl Hetherington <cth@carlh.net>
Thu, 5 Mar 2020 09:11:59 +0000 (10:11 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 28 Mar 2020 18:47:28 +0000 (19:47 +0100)
cscript

diff --git a/cscript b/cscript
index 0a0a73c8857f52dac869fdc48a5e83abfc7584f3..e548df08c5ee832c0ef5443f7bd1dadf6a627029 100644 (file)
--- a/cscript
+++ b/cscript
@@ -1,6 +1,6 @@
 # -*- mode: python -*-
 #
-#    Copyright (C) 2012-2019 Carl Hetherington <cth@carlh.net>
+#    Copyright (C) 2012-2020 Carl Hetherington <cth@carlh.net>
 #
 #    This file is part of DCP-o-matic.
 #
@@ -362,8 +362,8 @@ def dependencies(target):
         # Use distro-provided FFmpeg on Arch
         deps = []
 
-    deps.append(('libdcp', None))
-    deps.append(('libsub', None))
+    deps.append(('libdcp', None, {'force-cpp11': True}))
+    deps.append(('libsub', None, {'force-cpp11': True}))
     deps.append(('rtaudio', 'carl'))
     # We get our OpenSSL libraries from the environment, but we
     # also need a patched openssl binary to make certificates.