diff options
Diffstat (limited to 'sys-devel/clang-common/clang-common-16.0.0.9999.ebuild')
-rw-r--r-- | sys-devel/clang-common/clang-common-16.0.0.9999.ebuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys-devel/clang-common/clang-common-16.0.0.9999.ebuild b/sys-devel/clang-common/clang-common-16.0.0.9999.ebuild index 808c1e1a0ae1..5b4a6647f3ca 100644 --- a/sys-devel/clang-common/clang-common-16.0.0.9999.ebuild +++ b/sys-devel/clang-common/clang-common-16.0.0.9999.ebuild @@ -106,6 +106,9 @@ src_install() { # without optimization and that would at the very least be very noisy # during builds and at worst trigger many -Werror builds. cat >> "${ED}/usr/include/gentoo/fortify.h" <<- EOF || die + #ifdef __clang__ + # pragma clang system_header + #endif #ifndef _FORTIFY_SOURCE # if defined(__has_feature) # define __GENTOO_HAS_FEATURE(x) __has_feature(x) |