summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorManoj Gupta <manojgupta@google.com>2022-12-02 20:33:14 +0000
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-12-02 21:58:16 +0000
commit9f6d6ca10611cd1af3d81534baa674db335a4dc0 (patch)
treef3414c4ed2bf2a3cdd49d7a463bcc489ac646f81 /cmake
parent8fd9141a45c99e51da4a373f75d75c9a70f99b43 (diff)
downloadchrome-ec-9f6d6ca10611cd1af3d81534baa674db335a4dc0.tar.gz
Remove some C++ toolchain workarounds
Remove toolchain workarounds for C++ header files location and GNU_SOURCE as they are fixed in clang. BRANCH=none BUG=b:254916723, b:234507656, b:241489000 TEST=./util/compare_build.sh -b all -j 120 Change-Id: I8e1cd634c1085803fddcc2dec8f5667453a5e0e6 Signed-off-by: Manoj Gupta <manojgupta@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4074063 Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com> Tested-by: Manoj Gupta <manojgupta@chromium.org> Commit-Queue: Manoj Gupta <manojgupta@chromium.org> Reviewed-by: Tom Hughes <tomhughes@chromium.org>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/toolchain-armv7m.cmake4
1 files changed, 0 insertions, 4 deletions
diff --git a/cmake/toolchain-armv7m.cmake b/cmake/toolchain-armv7m.cmake
index 641b0debf2..48c2ac18a5 100644
--- a/cmake/toolchain-armv7m.cmake
+++ b/cmake/toolchain-armv7m.cmake
@@ -23,10 +23,6 @@ add_compile_options(-Oz)
add_compile_options(-flto)
add_link_options(-flto)
-# TODO(b/234507656): Remove this include when clang is fixed.
-add_compile_options(-I/usr/armv7m-cros-eabi/usr/include/c++/v1)
-# TODO(b/254916723): Remove this define when clang is fixed.
-add_compile_options(-D_GNU_SOURCE)
add_link_options(-lclang_rt.builtins-armv7m)
add_link_options(-lnosys)