diff options
Diffstat (limited to 'net-im/telegram-desktop/files/gyp-patches')
-rw-r--r-- | net-im/telegram-desktop/files/gyp-patches | 558 |
1 files changed, 0 insertions, 558 deletions
diff --git a/net-im/telegram-desktop/files/gyp-patches b/net-im/telegram-desktop/files/gyp-patches deleted file mode 100644 index 84d28420a054..000000000000 --- a/net-im/telegram-desktop/files/gyp-patches +++ /dev/null @@ -1,558 +0,0 @@ ---- Telegram/gyp/codegen/rules.gypi.orig 2019-10-07 15:58:21 UTC -+++ Telegram/gyp/codegen/rules.gypi -@@ -10,13 +10,13 @@ - 'inputs': [ - '<(DEPTH)/update_dependent.py', - '<@(qrc_files)', -- '<!@(python <(DEPTH)/update_dependent.py --qrc_list <@(qrc_files))', -+ '<!@(%%PYTHON_CMD%% <(DEPTH)/update_dependent.py --qrc_list <@(qrc_files))', - ], - 'outputs': [ - '<(SHARED_INTERMEDIATE_DIR)/update_dependent_qrc.timestamp', - ], - 'action': [ -- 'python', '<(DEPTH)/update_dependent.py', '--qrc', -+ '%%PYTHON_CMD%%', '<(DEPTH)/update_dependent.py', '--qrc', - '-o', '<(SHARED_INTERMEDIATE_DIR)/update_dependent_qrc.timestamp', - '<@(qrc_files)', - ], ---- Telegram/gyp/codegen/styles_rule.gypi.orig 2019-10-07 15:58:21 UTC -+++ Telegram/gyp/codegen/styles_rule.gypi -@@ -16,7 +16,7 @@ - '<(style_timestamp)', - ], - 'action': [ -- 'python', '<(DEPTH)/update_dependent.py', '--styles', -+ '%%PYTHON_CMD%%', '<(DEPTH)/update_dependent.py', '--styles', - '-I', '<(res_loc)', '-I', '<(src_loc)', - '-o', '<(style_timestamp)', - '<@(style_files)', ---- Telegram/gyp/common/linux.gypi.orig 2019-10-07 15:58:21 UTC -+++ Telegram/gyp/common/linux.gypi -@@ -11,7 +11,6 @@ - 'linux_common_flags': [ - '-pipe', - '-Wall', -- '-Werror', - '-W', - '-fPIC', - '-Wno-unused-variable', -@@ -26,16 +25,17 @@ - '-Wno-error=class-memaccess', - '-Wno-error=parentheses', - ], -- 'linux_path_ffmpeg%': '/usr/local', -- 'linux_path_openal%': '/usr/local', -- 'linux_path_va%': '/usr/local', -- 'linux_path_vdpau%': '/usr/local', -- 'linux_path_breakpad%': '/usr/local', -- 'linux_path_opus_include%': '<(libs_loc)/opus/include', -- 'linux_path_range%': '/usr/local', -+ 'linux_path_ffmpeg%': '%%LOCALBASE%%', -+ 'linux_path_openal%': '%%LOCALBASE%%', -+ 'linux_path_va%': '%%LOCALBASE%%', -+ 'linux_path_vdpau%': '%%LOCALBASE%%', -+ 'linux_path_breakpad%': '%%LOCALBASE%%', -+ 'linux_path_opus_include%': '%%LOCALBASE%%/opus/include', -+ 'linux_path_range%': '%%LOCALBASE%%', - }, - 'include_dirs': [ -- '/usr/local/include', -+ '/usr/include/openssl-1.0', -+ '%%LOCALBASE%%/include', - '<(linux_path_ffmpeg)/include', - '<(linux_path_openal)/include', - '<(linux_path_breakpad)/include/breakpad', -@@ -43,7 +43,8 @@ - '<(linux_path_range)/include', - ], - 'library_dirs': [ -- '/usr/local/lib', -+ '/usr/lib/openssl-1.0', -+ '%%LOCALBASE%%/lib', - '<(linux_path_ffmpeg)/lib', - '<(linux_path_openal)/lib', - '<(linux_path_va)/lib', -@@ -51,7 +52,7 @@ - '<(linux_path_breakpad)/lib', - ], - 'conditions': [ -- [ '"<!(uname -m)" == "x86_64" or "<!(uname -m)" == "aarch64"', { -+ [ '"<!(uname -m)" == "amd64" or "<!(uname -m)" == "arm64"', { - 'defines': [ - 'Q_OS_LINUX64', - ], -@@ -86,7 +87,6 @@ - ], - 'defines': [ - '_REENTRANT', -- 'QT_STATICPLUGIN', - 'QT_PLUGIN', - ], - 'cflags_c': [ -@@ -99,9 +99,6 @@ - '-Wno-register', - ], - 'make_global_settings': [ -- ['AR', '/usr/bin/gcc-ar'], -- ['RANLIB', '/usr/bin/gcc-ranlib'], -- ['NM', '/usr/bin/gcc-nm'], - ], - 'configurations': { - 'Debug': { ---- Telegram/gyp/lib_export.gyp.orig 2019-10-07 15:58:21 UTC -+++ Telegram/gyp/lib_export.gyp -@@ -44,7 +44,7 @@ - 'include_dirs': [ - '<(src_loc)', - '<(SHARED_INTERMEDIATE_DIR)', -- '<(libs_loc)/range-v3/include', -+ '%%LOCALBASE%%', - '<(submodules_loc)/GSL/include', - '<(submodules_loc)/variant/include', - '<(submodules_loc)/crl/src', ---- Telegram/gyp/lib_scheme.gyp.orig 2019-10-07 15:58:21 UTC -+++ Telegram/gyp/lib_scheme.gyp -@@ -48,7 +48,7 @@ - '<(SHARED_INTERMEDIATE_DIR)/scheme.h', - ], - 'action': [ -- 'python', '<(src_loc)/codegen/scheme/codegen_scheme.py', -+ '%%PYTHON_CMD%%', '<(src_loc)/codegen/scheme/codegen_scheme.py', - '-o', '<(SHARED_INTERMEDIATE_DIR)', - '<(res_loc)/tl/mtproto.tl', - '<(res_loc)/tl/api.tl', ---- Telegram/gyp/lib_ui.gyp.orig 2019-10-07 15:58:21 UTC -+++ Telegram/gyp/lib_ui.gyp -@@ -39,7 +39,7 @@ - 'dependent_style_files': [ - ], - 'style_timestamp': '<(SHARED_INTERMEDIATE_DIR)/update_dependent_styles_ui.timestamp', -- 'list_sources_command': 'python <(DEPTH)/list_sources.py --input <(DEPTH)/lib_ui/sources.txt --replace src_loc=<(src_loc)', -+ 'list_sources_command': '%%PYTHON_CMD%% <(DEPTH)/list_sources.py --input <(DEPTH)/lib_ui/sources.txt --replace src_loc=<(src_loc)', - 'pch_source': '<(src_loc)/ui/ui_pch.cpp', - 'pch_header': '<(src_loc)/ui/ui_pch.h', - }, -@@ -56,7 +56,7 @@ - 'include_dirs': [ - '<(src_loc)', - '<(SHARED_INTERMEDIATE_DIR)', -- '<(libs_loc)/range-v3/include', -+ '%%LOCALBASE%%/include', - '<(submodules_loc)/GSL/include', - '<(submodules_loc)/variant/include', - '<(submodules_loc)/crl/src', -@@ -68,7 +68,7 @@ - '<(DEPTH)/lib_ui/sources.txt', - ], - 'sources!': [ -- '<!@(<(list_sources_command) <(qt_moc_list_sources_arg) --exclude_for <(build_os))', -+ '<!@(<(list_sources_command) <(qt_moc_list_sources_arg) --exclude_for linux)', - ], - }], - } ---- Telegram/gyp/modules/qt_moc.gypi.orig 2019-10-07 15:58:21 UTC -+++ Telegram/gyp/modules/qt_moc.gypi -@@ -15,12 +15,12 @@ - '<(SHARED_INTERMEDIATE_DIR)/<(_target_name)/moc/moc_<(RULE_INPUT_ROOT).cpp', - ], - 'action': [ -- '<(qt_loc)/bin/moc<(exe_ext)', -+ '%%QT_BINDIR%%/moc', - - # Silence "Note: No relevant classes found. No output generated." - '--no-notes', - -- '<!@(python -c "for s in \'<@(_defines)\'.split(\' \'): print(\'-D\' + s)")', -+ '<!@(%%PYTHON_CMD%% -c "for s in \'<@(_defines)\'.split(\' \'): print(\'-D\' + s)")', - # '<!@(python -c "for s in \'<@(_include_dirs)\'.split(\' \'): print(\'-I\' + s)")', - '<(RULE_INPUT_PATH)', - '-o', '<(SHARED_INTERMEDIATE_DIR)/<(_target_name)/moc/moc_<(RULE_INPUT_ROOT).cpp', ---- Telegram/gyp/modules/qt_rcc.gypi.orig 2019-10-07 15:58:21 UTC -+++ Telegram/gyp/modules/qt_rcc.gypi -@@ -15,7 +15,7 @@ - '<(SHARED_INTERMEDIATE_DIR)/<(_target_name)/qrc/qrc_<(RULE_INPUT_ROOT).cpp', - ], - 'action': [ -- '<(qt_loc)/bin/rcc<(exe_ext)', -+ '%%QT_BINDIR%%/rcc', - '-name', '<(RULE_INPUT_ROOT)', - '-no-compress', - '<(RULE_INPUT_PATH)', ---- Telegram/gyp/modules/qt.gypi.orig 2019-10-07 15:58:21 UTC -+++ Telegram/gyp/modules/qt.gypi -@@ -14,25 +14,21 @@ - [ 'build_macold', { - 'qt_version%': '5.3.2', - }, { -- 'qt_version%': '5.6.2', -+ 'qt_version%': '%%QT_VERSION%%', - }] - ], - }, - 'qt_libs': [ -- 'qwebp', -- 'Qt5PrintSupport', -- 'Qt5PlatformSupport', - 'Qt5Network', - 'Qt5Widgets', - 'Qt5Gui', -- 'qtharfbuzzng', - ], - 'qt_version%': '<(qt_version)', - 'conditions': [ - [ 'build_macold', { - 'linux_path_qt%': '/usr/local/macold/Qt-<(qt_version)', - }, { -- 'linux_path_qt%': '/usr/local/tdesktop/Qt-<(qt_version)', -+ 'linux_path_qt%': '%%LOCALBASE%%/lib/qt', - }] - ] - }, -@@ -72,44 +68,25 @@ - ], - }], - [ 'build_linux', { -- 'qt_lib_prefix': 'lib', -- 'qt_lib_debug_postfix': '.a', -- 'qt_lib_release_postfix': '.a', -+ 'qt_lib_prefix': '', -+ 'qt_lib_debug_postfix': '', -+ 'qt_lib_release_postfix': '', - 'qt_libs': [ -- 'qxcb', -- 'Qt5XcbQpa', -- 'qconnmanbearer', -- 'qgenericbearer', -- 'qnmbearer', - '<@(qt_libs)', - 'Qt5DBus', - 'Qt5Core', -- 'qtpcre', -- 'Xi', -- 'Xext', -- 'Xfixes', -- 'SM', -- 'ICE', -- 'fontconfig', -- 'expat', -- 'freetype', -- 'z', -- 'xcb-shm', -- 'xcb-xfixes', -- 'xcb-render', -- 'xcb-static', - ], - }], - ], - }, - 'qt_version%': '<(qt_version)', - 'qt_loc_unix': '<(qt_loc_unix)', -- 'qt_version_loc': '<!(python -c "print(\'<(qt_version)\'.replace(\'.\', \'_\'))")', -+ 'qt_version_loc': '<!(%%PYTHON_CMD%% -c "print(\'<(qt_version)\'.replace(\'.\', \'_\'))")', - 'qt_libs_debug': [ -- '<!@(python -c "for s in \'<@(qt_libs)\'.split(\' \'): print(\'<(qt_lib_prefix)\' + s + \'<(qt_lib_debug_postfix)\')")', -+ '<!@(%%PYTHON_CMD%% -c "for s in \'<@(qt_libs)\'.split(\' \'): print(\'<(qt_lib_prefix)\' + s + \'<(qt_lib_debug_postfix)\')")', - ], - 'qt_libs_release': [ -- '<!@(python -c "for s in \'<@(qt_libs)\'.split(\' \'): print(\'<(qt_lib_prefix)\' + s + \'<(qt_lib_release_postfix)\')")', -+ '<!@(%%PYTHON_CMD%% -c "for s in \'<@(qt_libs)\'.split(\' \'): print(\'<(qt_lib_prefix)\' + s + \'<(qt_lib_release_postfix)\')")', - ], - }, - 'qt_libs_debug': [ '<@(qt_libs_debug)' ], -@@ -127,11 +104,6 @@ - # '<!@(python <(DEPTH)/list_sources.py [sources] <(qt_moc_list_sources_arg))' - # where [sources] contains all your source files - 'qt_moc_list_sources_arg': '--moc-prefix SHARED_INTERMEDIATE_DIR/<(_target_name)/moc/moc_', -- -- 'linux_path_xkbcommon%': '/usr/local', -- 'linux_lib_ssl%': '/usr/local/ssl/lib/libssl.a', -- 'linux_lib_crypto%': '/usr/local/ssl/lib/libcrypto.a', -- 'linux_lib_icu%': 'libicutu.a libicui18n.a libicuuc.a libicudata.a', - }, - - 'configurations': { -@@ -180,18 +152,18 @@ - }, - - 'include_dirs': [ -- '<(qt_loc)/include', -- '<(qt_loc)/include/QtCore', -- '<(qt_loc)/include/QtGui', -- '<(qt_loc)/include/QtDBus', -- '<(qt_loc)/include/QtCore/<(qt_version)', -- '<(qt_loc)/include/QtGui/<(qt_version)', -- '<(qt_loc)/include/QtCore/<(qt_version)/QtCore', -- '<(qt_loc)/include/QtGui/<(qt_version)/QtGui', -+ '%%QT_INCDIR%%', -+ '%%QT_INCDIR%%/QtCore', -+ '%%QT_INCDIR%%/QtGui', -+ '%%QT_INCDIR%%/QtDBus', -+ '%%QT_INCDIR%%/QtCore/<(qt_version)', -+ '%%QT_INCDIR%%/QtGui/<(qt_version)', -+ '%%QT_INCDIR%%/QtCore/<(qt_version)/QtCore', -+ '%%QT_INCDIR%%/QtGui/<(qt_version)/QtGui', - ], - 'library_dirs': [ -- '<(qt_loc)/lib', -- '<(qt_loc)/plugins', -+ '%%LOCALBASE%%/lib', -+ '%%QT_LIBDIR%%/', - '<(qt_loc)/plugins/bearer', - '<(qt_loc)/plugins/platforms', - '<(qt_loc)/plugins/imageformats', -@@ -204,33 +176,20 @@ - ], - 'conditions': [ - [ 'build_linux', { -- 'dependencies': [ -- '<(DEPTH)/linux_glibc_wraps.gyp:linux_glibc_wraps', -- ], - 'library_dirs': [ - '<(qt_loc)/plugins/platforminputcontexts', - ], - 'libraries': [ -- '<(PRODUCT_DIR)/obj.target/liblinux_glibc_wraps.a', -- '<(linux_path_xkbcommon)/lib/libxkbcommon.a', - '<@(qt_libs_release)', -- '<(linux_lib_ssl)', -- '<(linux_lib_crypto)', -- '<!@(python -c "for s in \'<(linux_lib_icu)\'.split(\' \'): print(s)")', -- '-lxcb', -+ '-lcrypto', - '-lX11', -- '-lX11-xcb', -- '-ldbus-1', -- '-ldl', -- '-lgthread-2.0', - '-lglib-2.0', - '-lpthread', - ], - 'include_dirs': [ -- '<(qt_loc)/mkspecs/linux-g++', -+ '%%QMAKESPEC%%', - ], - 'ldflags': [ -- '-static-libstdc++', - '-pthread', - '-rdynamic', - ], ---- Telegram/gyp/telegram/linux.gypi.orig 2019-10-07 15:58:21 UTC -+++ Telegram/gyp/telegram/linux.gypi -@@ -10,7 +10,7 @@ - 'variables': { - 'build_defines%': '', - }, -- 'not_need_gtk%': '<!(python -c "print(\'TDESKTOP_DISABLE_GTK_INTEGRATION\' in \'<(build_defines)\')")', -+ 'not_need_gtk%': '<!(%%PYTHON_CMD%% -c "print(\'TDESKTOP_DISABLE_GTK_INTEGRATION\' in \'<(build_defines)\')")', - 'pkgconfig_libs': [ - # In order to work libxkbcommon must be linked statically, - # PKGCONFIG links it like "-L/usr/local/lib -lxkbcommon" -@@ -20,12 +20,6 @@ - ], - }, - 'libraries': [ -- '-lbreakpad_client', -- '-lcomposeplatforminputcontextplugin', -- '-libusplatforminputcontextplugin', -- '-lfcitxplatforminputcontextplugin', -- '-lhimeplatforminputcontextplugin', -- '-lnimfplatforminputcontextplugin', - '-llzma', - '-lopenal', - '-lavformat', -@@ -34,12 +28,8 @@ - '-lswscale', - '-lavutil', - '-lopus', -- '-lva-x11', -- '-lva-drm', -- '-lva', -- '-lvdpau', -- '-ldrm', - '-lz', -+ '-lminizip', - # '<!(pkg-config 2> /dev/null --libs <@(pkgconfig_libs))', - ], - 'cflags_cc': [ -@@ -49,22 +39,23 @@ - 'ldflags': [ - '-Wl,-wrap,aligned_alloc', - '-Wl,-wrap,secure_getenv', -- '-Wl,-wrap,clock_gettime', - '-Wl,--no-as-needed,-lrt', -- '-Wl,-Bstatic', - ], - 'configurations': { - 'Release': { - 'cflags_c': [ - '-Ofast', - '-fno-strict-aliasing', -+ %%CFLAGS%% - ], - 'cflags_cc': [ - '-Ofast', - '-fno-strict-aliasing', -+ %%CXXFLAGS%% - ], - 'ldflags': [ - '-Ofast', -+ %%LDFLAGS%% - ], - }, - }, -@@ -75,9 +66,7 @@ - ], - }], ['not_need_gtk!="True"', { - 'cflags_cc': [ -- '<!(pkg-config 2> /dev/null --cflags gtk+-2.0)', -- '<!(pkg-config 2> /dev/null --cflags glib-2.0)', -- '<!(pkg-config 2> /dev/null --cflags dee-1.0)', -+ '<!(pkg-config 2> /dev/null --cflags gtk+-3.0)', - ], - }], ['<!(pkg-config ayatana-appindicator3-0.1; echo $?) == 0', { - 'cflags_cc': [ '<!(pkg-config --cflags ayatana-appindicator3-0.1)' ], ---- Telegram/gyp/telegram/telegram.gypi.orig 2019-10-07 15:58:21 UTC -+++ Telegram/gyp/telegram/telegram.gypi -@@ -11,7 +11,7 @@ - 'src_loc': '../SourceFiles', - 'res_loc': '../Resources', - 'submodules_loc': '../ThirdParty', -- 'minizip_loc': '<(submodules_loc)/minizip', -+ 'minizip_loc': '%%LOCALBASE%%/include/minizip', - 'sp_media_key_tap_loc': '<(submodules_loc)/SPMediaKeyTap', - 'emoji_suggestions_loc': '<(submodules_loc)/emoji_suggestions', - 'style_files': [ -@@ -47,7 +47,7 @@ - 'pt-BR', - ], - 'build_defines%': '', -- 'list_sources_command': 'python <(DEPTH)/list_sources.py --input <(DEPTH)/telegram/sources.txt --replace src_loc=<(src_loc)', -+ 'list_sources_command': '%%PYTHON_CMD%% <(DEPTH)/list_sources.py --input <(DEPTH)/telegram/sources.txt --replace src_loc=<(src_loc)', - 'pch_source': '<(src_loc)/stdafx.cpp', - 'pch_header': '<(src_loc)/stdafx.h', - }, -@@ -91,19 +91,12 @@ - 'XXH_INLINE_ALL', - 'TDESKTOP_API_ID=<(api_id)', - 'TDESKTOP_API_HASH=<(api_hash)', -- '<!@(python -c "for s in \'<(build_defines)\'.split(\',\'): print(s)")', -+ '<!@(%%PYTHON_CMD%% -c "for s in \'<(build_defines)\'.split(\',\'): print(s)")', - ], - - 'include_dirs': [ - '<(src_loc)', - '<(SHARED_INTERMEDIATE_DIR)', -- '<(libs_loc)/breakpad/src', -- '<(libs_loc)/lzma/C', -- '<(libs_loc)/zlib', -- '<(libs_loc)/ffmpeg', -- '<(libs_loc)/openal-soft/include', -- '<(libs_loc)/opus/include', -- '<(libs_loc)/range-v3/include', - '<(minizip_loc)', - '<(sp_media_key_tap_loc)', - '<(emoji_suggestions_loc)', -@@ -124,7 +117,7 @@ - '<!@(<(list_sources_command) <(qt_moc_list_sources_arg))', - ], - 'sources!': [ -- '<!@(<(list_sources_command) <(qt_moc_list_sources_arg) --exclude_for <(build_os))', -+ '<!@(<(list_sources_command) <(qt_moc_list_sources_arg) --exclude_for linux)', - ], - 'conditions': [ - [ '"<(official_build_target)" != ""', { -@@ -139,7 +132,7 @@ - 'mac_hardened_runtime': 1, - 'mac_bundle': '1', - 'mac_bundle_resources': [ -- '<!@(python -c "for s in \'<@(langpacks)\'.split(\' \'): print(\'<(res_loc)/langs/\' + s + \'.lproj/Localizable.strings\')")', -+ '<!@(%%PYTHON_CMD%% -c "for s in \'<@(langpacks)\'.split(\' \'): print(\'<(res_loc)/langs/\' + s + \'.lproj/Localizable.strings\')")', - '../../Telegram/Images.xcassets', - ], - 'xcode_settings': { ---- Telegram/gyp/tests/tests.gyp.orig 2019-10-07 15:58:21 UTC -+++ Telegram/gyp/tests/tests.gyp -@@ -12,7 +12,7 @@ - 'src_loc': '../../SourceFiles', - 'submodules_loc': '../../ThirdParty', - 'mac_target': '10.10', -- 'list_tests_command': 'python <(DEPTH)/tests/list_tests.py --input <(DEPTH)/tests/tests_list.txt', -+ 'list_tests_command': '%%PYTHON_CMD%% <(DEPTH)/tests/list_tests.py --input <(DEPTH)/tests/tests_list.txt', - }, - 'targets': [{ - 'target_name': 'tests', ---- Telegram/gyp/utils.gyp.orig 2019-10-07 15:58:21 UTC -+++ Telegram/gyp/utils.gyp -@@ -119,11 +119,11 @@ - ], - }, { - 'include_dirs': [ -- '/usr/local/include', -+ '%%LOCALBASE%%/include', - '<(libs_loc)/openssl/include' - ], - 'library_dirs': [ -- '/usr/local/lib', -+ '%%LOCALBASE%%/lib', - ], - }] - ], -@@ -141,11 +141,11 @@ - ], - }, { - 'include_dirs': [ -- '/usr/local/include', -+ '%%LOCALBASE%%/include', - '<(libs_loc)/openssl/include' - ], - 'library_dirs': [ -- '/usr/local/lib', -+ '%%LOCALBASE%%/lib', - ], - }] - ], ---- Telegram/ThirdParty/libtgvoip/libtgvoip.gyp.orig 2019-07-15 12:59:17 UTC -+++ Telegram/ThirdParty/libtgvoip/libtgvoip.gyp -@@ -14,11 +14,12 @@ - 'variables': { - 'tgvoip_src_loc': '.', - 'official_build_target%': '', -- 'linux_path_opus_include%': '<(DEPTH)/../../../Libraries/opus/include', -+ 'linux_path_opus_include%': '%%LOCALBASE%%/include/opus', - }, - 'include_dirs': [ - '<(tgvoip_src_loc)/webrtc_dsp', - '<(linux_path_opus_include)', -+ '%%LOCALBASE%%/include/', - ], - 'direct_dependent_settings': { - 'include_dirs': [ -@@ -743,7 +744,7 @@ - }, - ], - [ -- '"<(OS)" != "linux"', { -+ '"<(OS)" != "freebsd"', { - 'sources/': [['exclude', '<(tgvoip_src_loc)/os/linux/']], - }, - ], -@@ -895,13 +896,16 @@ - }, - ], - [ -- '"<(OS)" == "linux"', { -+ '"<(OS)" == "freebsd"', { - 'defines': [ - 'WEBRTC_POSIX', - 'WEBRTC_LINUX', - ], -+ 'cflags_cc': [ -+ '-std=gnu++11', -+ ], - 'conditions': [ -- [ '"<!(uname -m)" == "i686"', { -+ [ '"<!(uname -m)" == "i386"', { - 'cflags_cc': [ - '-msse2', - ], |