summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2005-04-03 23:52:18 +0000
committerNed Ludd <solar@gentoo.org>2005-04-03 23:52:18 +0000
commitb0dc4cef55865b723f67893db86d6e9ae1972941 (patch)
tree44f33941828dbba281222e62295fc9824c4a5308 /profiles/hardened
parentAdd patches for bug #86446 (crash on logout) and for bug #87485 (handling of ... (diff)
downloadgentoo-2-b0dc4cef55865b723f67893db86d6e9ae1972941.tar.gz
gentoo-2-b0dc4cef55865b723f67893db86d6e9ae1972941.tar.bz2
gentoo-2-b0dc4cef55865b723f67893db86d6e9ae1972941.zip
- quick fix for non multilib systems
Diffstat (limited to 'profiles/hardened')
-rw-r--r--profiles/hardened/amd64/profile.bashrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/profiles/hardened/amd64/profile.bashrc b/profiles/hardened/amd64/profile.bashrc
index a23dacf85363..6e73662e0791 100644
--- a/profiles/hardened/amd64/profile.bashrc
+++ b/profiles/hardened/amd64/profile.bashrc
@@ -3,3 +3,6 @@
#SANDBOX_WRITE="${SANDBOX_WRITE}:/usr/lib64/conftest:/usr/lib64/cf"
addwrite /usr/lib64/conftest
addwrite /usr/lib64/cf
+
+# quick fix for non-multilib systems
+([[ "$EBUILD_PHASE" = "compile" ]] && [[ $PN = "libperl" ]]) && export CFLAGS="${CFLAGS} -DHAS_SHMAT_PROTOTYPE"