Skip to content

Commit

Permalink
Ubuntu でビルドする際の install_boost_args に _LIBCPP_HARDENING_MODE の指定が必要だった
Browse files Browse the repository at this point in the history
  • Loading branch information
enm10k committed Jan 16, 2024
1 parent 2fdb301 commit 4a1f197
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')}",
Expand All @@ -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')}",
Expand All @@ -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',
Expand Down

0 comments on commit 4a1f197

Please sign in to comment.