From 328d505d7742e968b05ebbc216c3c26688b1e94a Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Wed, 8 Apr 2015 17:43:09 -0700 Subject: [PATCH] profiles: mask cross compiler flags that are masked on target The hardened and sanitizer options are masked on arm64 so the arm64 cross compiler should also not enable them instead of inheriting the amd64 default to enable them. Fixes building cross gcc. --- .../profiles/coreos/targets/sdk/package.use.mask | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/sdk/package.use.mask diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/sdk/package.use.mask b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/sdk/package.use.mask new file mode 100644 index 0000000000..ee1e75e18a --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/sdk/package.use.mask @@ -0,0 +1,3 @@ +# hardened and sanitize are masked for arm64, cross compilers should agree +cross-aarch64-cros-linux-gnu/gcc hardened sanitize +cross-aarch64-cros-linux-gnu/glibc hardened