diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-04-02 23:00:18 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-04-02 23:00:18 +0200 |
| commit | a1aa496d186e23e61ecb8531f4623357444f206a (patch) | |
| tree | 3bd19492e213adf9c81aacf4357a35304c9349a9 | |
| parent | 61a018e80547e81620facc92e4ce05b69841a73b (diff) | |
Fix up force-cpp11 option condition.
| -rw-r--r-- | cscript | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -362,10 +362,8 @@ def dependencies(target, options): # Use distro-provided FFmpeg on Arch deps = [] - cpp_lib_options = {} - if target.platform == 'osx' and target.bits == 64: - # We can use C++11 mode, so let's do it. - options['force-cpp11'] = True + # Let's use C++11 mode if we can + cpp_lib_options = {'force-cpp11': True} if target.platform == 'osx' and target.bits == 64 else {} deps.append(('libdcp', None, cpp_lib_options)) deps.append(('libsub', None, cpp_lib_options)) |
