summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZorry <zorry.at.ume.nu>2009-03-08 14:42:58 +0100
committerZorry <zorry.at.ume.nu>2009-03-08 14:42:58 +0100
commit1d987e4b29a610d6725fde9cc9611905e4186e8b (patch)
tree11fc41723c66a780fc4c27f3c5dfff3e5a5239a6
parentAdded sys-libs/libstdc++-v3 removed the fno-stack-protector-all in the ebuild (diff)
downloadhardened-dev-1d987e4b29a610d6725fde9cc9611905e4186e8b.tar.gz
hardened-dev-1d987e4b29a610d6725fde9cc9611905e4186e8b.tar.bz2
hardened-dev-1d987e4b29a610d6725fde9cc9611905e4186e8b.zip
Added sys-libs/libstdc++-v3 removed the fno-stack-protector-all in the ebuild part2
-rw-r--r--sys-libs/libstdc++-v3/Manifest2
-rw-r--r--sys-libs/libstdc++-v3/libstdc++-v3-3.3.6-r1.ebuild10
2 files changed, 7 insertions, 5 deletions
diff --git a/sys-libs/libstdc++-v3/Manifest b/sys-libs/libstdc++-v3/Manifest
index 55735534..0429aab6 100644
--- a/sys-libs/libstdc++-v3/Manifest
+++ b/sys-libs/libstdc++-v3/Manifest
@@ -1,5 +1,5 @@
DIST gcc-3.3.6-patches-1.6.tar.bz2 48814 RMD160 3f25b67015c6e4d874690c48d23292a670501e0c SHA1 aba4661d50787aad26849497d45194804bf21b73 SHA256 c692f8f00d16947e13dd86ca974e419c35d1befee9ee915fa6c50a741487ef63
DIST gcc-3.3.6.tar.bz2 23972413 RMD160 b32c7a08c690857f0ac52dda3deb47cf5775d967 SHA1 2cc43978bb09af6c2ccfdf74797d10d7cc2596fb SHA256 1c1aa533c67e9da5e55ed4f5736258dc753466bd716bdae3fb88fb66e6ff1d7f
-EBUILD libstdc++-v3-3.3.6-r1.ebuild 4725 RMD160 eaff3f1795cfd7b9e480f0e8b2e718e07c0b6360 SHA1 c0b575c3778d988e8efcbdb9ade47c78abb7b715 SHA256 d1cde3d656d8fdd047dcdc6d2777b99f26c2c4763e79724ca78329a971528735
+EBUILD libstdc++-v3-3.3.6-r1.ebuild 4751 RMD160 ab18daf0f9e302ae00861418cc90a7602c401de7 SHA1 baedde26541cb46e5de6198b28f7008a197a2f1b SHA256 b01b1f0ef1b1f20b51a7832353566c713713d2e3f7d9aa70ac0994ca75336d01
MISC ChangeLog 9033 RMD160 4a9c940783eae5b09601c425a7a2776c3314ebba SHA1 d7c70eeb693bede965a11a26c332522b9ff6f3e3 SHA256 fe1ab4fbd2c502eaeffce5ddf7d9f856ca18b36d4ffe1a3e25d172240ba78c97
MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a
diff --git a/sys-libs/libstdc++-v3/libstdc++-v3-3.3.6-r1.ebuild b/sys-libs/libstdc++-v3/libstdc++-v3-3.3.6-r1.ebuild
index e9c2380d..86851942 100644
--- a/sys-libs/libstdc++-v3/libstdc++-v3-3.3.6-r1.ebuild
+++ b/sys-libs/libstdc++-v3/libstdc++-v3-3.3.6-r1.ebuild
@@ -85,10 +85,12 @@ do_filter_flags() {
filter-flags -mno-tls-direct-seg-refs
# xgcc isnt patched with propolice
- filter-flags -fstack-protector-all
-# filter-flags -fno-stack-protector-all is not supported on gcc-4.*
- filter-flags -fstack-protector
- filter-flags -fno-stack-protector
+ if [[ get-version < 4.0 ]] ; then
+ filter-flags -fstack-protector-all
+ filter-flags -fno-stack-protector-all
+ filter-flags -fno-stack-protector
+ fi
+ filter-flags -fstack-protector
# xgcc isnt patched with the gcc symbol visibility patch
filter-flags -fvisibility-inlines-hidden