diff --git a/wscript b/wscript index bd7598a35a..ff33d78365 100644 --- a/wscript +++ b/wscript @@ -562,7 +562,6 @@ int main() { return 0; }''', cxx_flags.append('-D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION') else: cxx_flags.append('-DBOOST_NO_AUTO_PTR') - cxx_flags.append('-DBOOST_BIND_GLOBAL_PLACEHOLDERS') if (is_clang and platform == "darwin"): # Silence warnings about the non-existing osx clang compiler flags @@ -747,7 +746,7 @@ int main() { return 0; }''', # need ISOC9X for llabs() compiler_flags.extend( - ('-DBOOST_SYSTEM_NO_DEPRECATED', '-DBOOST_BIND_GLOBAL_PLACEHOLDERS', '-D_ISOC9X_SOURCE', + ('-DBOOST_SYSTEM_NO_DEPRECATED', '-D_ISOC9X_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64')) cxx_flags.extend( ('-D__STDC_LIMIT_MACROS', '-D__STDC_FORMAT_MACROS',