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
commit06ee9fc602dd25c2d22fe1d34488955086a38794 (patch)
tree8789d697e086bf55de81c464c5bfd93a17eae74f /profiles/hardened/amd64
parentAdd patches for bug #86446 (crash on logout) and for bug #87485 (handling of ... (diff)
downloadhistorical-06ee9fc602dd25c2d22fe1d34488955086a38794.tar.gz
historical-06ee9fc602dd25c2d22fe1d34488955086a38794.tar.bz2
historical-06ee9fc602dd25c2d22fe1d34488955086a38794.zip
- quick fix for non multilib systems
Diffstat (limited to 'profiles/hardened/amd64')
-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"