From 4a1f19775947d9e8b2d01c04dcdaa5d0f7d248c2 Mon Sep 17 00:00:00 2001 From: enm10k Date: Tue, 16 Jan 2024 18:38:43 +0900 Subject: [PATCH] =?UTF-8?q?Ubuntu=20=E3=81=A7=E3=83=93=E3=83=AB=E3=83=89?= =?UTF-8?q?=E3=81=99=E3=82=8B=E9=9A=9B=E3=81=AE=20install=5Fboost=5Fargs?= =?UTF-8?q?=20=E3=81=AB=20=5FLIBCPP=5FHARDENING=5FMODE=20=E3=81=AE?= =?UTF-8?q?=E6=8C=87=E5=AE=9A=E3=81=8C=E5=BF=85=E8=A6=81=E3=81=A0=E3=81=A3?= =?UTF-8?q?=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- run.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/run.py b/run.py index ac0f595f..91bf8b96 100644 --- a/run.py +++ b/run.py @@ -1272,6 +1272,7 @@ def install_deps(platform: Platform, source_dir, build_dir, install_dir, debug, '-D_LIBCPP_ABI_NAMESPACE=Cr', '-D_LIBCPP_ABI_VERSION=2', '-D_LIBCPP_DISABLE_AVAILABILITY', + '-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE', '-nostdinc++', '-std=gnu++17', f"-isystem{os.path.join(webrtc_info.libcxx_dir, 'include')}", @@ -1298,6 +1299,7 @@ def install_deps(platform: Platform, source_dir, build_dir, install_dir, debug, '-D_LIBCPP_ABI_NAMESPACE=Cr', '-D_LIBCPP_ABI_VERSION=2', '-D_LIBCPP_DISABLE_AVAILABILITY', + '-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE', '-nostdinc++', '-std=gnu++17', f"-isystem{os.path.join(webrtc_info.libcxx_dir, 'include')}", @@ -1315,6 +1317,7 @@ def install_deps(platform: Platform, source_dir, build_dir, install_dir, debug, '-D_LIBCPP_ABI_NAMESPACE=Cr', '-D_LIBCPP_ABI_VERSION=2', '-D_LIBCPP_DISABLE_AVAILABILITY', + '-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE', '-nostdinc++', f"-isystem{os.path.join(webrtc_info.libcxx_dir, 'include')}", '-fPIC',