mozcoreconf-v6: Remove older workarounds
authorShane Peelar <lookatyouhacker@gmail.com>
Sun, 12 May 2019 14:10:31 +0000 (10:10 -0400)
committerJory Pratt <anarchy@gentoo.org>
Mon, 13 May 2019 11:54:49 +0000 (06:54 -0500)
Keep -flifetime-dse=1 as it is required for PGO

Closes: https://bugs.gentoo.org/685632
Signed-off-by: Shane Peelar <lookatyouhacker@gmail.com>
Signed-off-by: Jory Pratt <anarchy@gentoo.org>
eclass/mozcoreconf-v6.eclass

index 945b95c31b32d699c7ca28549be0aa6a89cd2744..efc9a83d84f1bffb5ce59b52fddabac0475352f6 100644 (file)
@@ -240,7 +240,7 @@ mozconfig_init() {
 
        # We need to append flags for gcc-6 support
        if [[ $(gcc-major-version) -ge 6 ]]; then
-               append-cxxflags -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns -fno-schedule-insns2
+               append-cxxflags -flifetime-dse=1
        fi
 
        # Use the MOZILLA_FIVE_HOME for the rpath