Browse Source

fix(linux-x86): match libstdc ABI between node and @parcel/watcher (#2457)

Baptiste Augrain 1 tháng trước cách đây
mục cha
commit
930f570146
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      build/linux/package_reh.sh

+ 1 - 0
build/linux/package_reh.sh

@@ -31,6 +31,7 @@ if [[ "${VSCODE_ARCH}" == "x64" ]]; then
 
   export VSCODE_NODEJS_SITE='https://unofficial-builds.nodejs.org'
   export VSCODE_NODEJS_URLSUFFIX='-glibc-217'
+  export CXXFLAGS='-D_GLIBCXX_USE_CXX11_ABI=0'
 
   export VSCODE_SKIP_SETUPENV=1
 elif [[ "${VSCODE_ARCH}" == "arm64" ]]; then