Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ad2494bb authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh
Browse files

Remove gcc 4.9 workaround.

The gcc 4.9 devirtualization bug was fixed with a cherry pick of r212222.

BUG: 19872411
Change-Id: I6d9677f112402fe84d70da770f364392398e9cc9
parent bdbf0741
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -97,10 +97,6 @@ $(combo_2nd_arch_prefix)TARGET_GLOBAL_CFLAGS += \
			-include $(android_config_h) \
			-I $(dir $(android_config_h))

# Work around gcc 4.9 devirtualization bug, https://b.corp.google.com/19872411.
$(combo_2nd_arch_prefix)TARGET_GLOBAL_CFLAGS += \
			-fno-devirtualize \

$(combo_2nd_arch_prefix)TARGET_GLOBAL_CFLAGS += $(arch_variant_cflags)

ifeq ($(ARCH_X86_HAVE_SSSE3),true)   # yes, really SSSE3, not SSE3!
+0 −4
Original line number Diff line number Diff line
@@ -93,10 +93,6 @@ TARGET_GLOBAL_CFLAGS += \
			-no-canonical-prefixes \
			-fno-canonical-system-headers

# Work around gcc 4.9 devirtualization bug, https://b.corp.google.com/19872411.
TARGET_GLOBAL_CFLAGS += \
			-fno-devirtualize \

# Help catch common 32/64-bit errors.
TARGET_GLOBAL_CFLAGS += \
    -Werror=pointer-to-int-cast \