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

Commit 4ee006e0 authored by Alexander Ivchenko's avatar Alexander Ivchenko Committed by Ian Rogers
Browse files

Refine TARGET_GLOBAL_CFLAGS for x86 and x86_64:

       Remove -msse2 for x86 (-mssse3 should be provided by the compiler).
       Remove -fPIC (compiler provides by default).
       Remove -fno-inline-functions-called-once.

Change-Id: Ibb29934224c4eedfff926dc72c3b6342c1861ac9
(cherry picked from commit 388dce31)
parent abc3fbe6
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -82,18 +82,15 @@ $(combo_2nd_arch_prefix)TARGET_GLOBAL_CFLAGS += \
			-Werror=format-security \
			-D_FORTIFY_SOURCE=2 \
			-Wstrict-aliasing=2 \
			-fPIC \
			-ffunction-sections \
			-finline-functions \
			-finline-limit=300 \
			-fno-inline-functions-called-once \
			-fno-short-enums \
			-fstrict-aliasing \
			-funswitch-loops \
			-funwind-tables \
			-fstack-protector \
			-m32 \
			-msse2 \
			-no-canonical-prefixes \
			-fno-canonical-system-headers \
			-include $(android_config_h) \
+0 −2
Original line number Diff line number Diff line
@@ -80,11 +80,9 @@ TARGET_GLOBAL_CFLAGS += \
			-Werror=format-security \
			-D_FORTIFY_SOURCE=2 \
			-Wstrict-aliasing=2 \
			-fPIC \
			-ffunction-sections \
			-finline-functions \
			-finline-limit=300 \
			-fno-inline-functions-called-once \
			-fno-short-enums \
			-fstrict-aliasing \
			-funswitch-loops \