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

Commit 2467fe24 authored by Chih-Wei Huang's avatar Chih-Wei Huang
Browse files

Add atom optimization flags

To enable the optimization, set TARGET_ARCH_VARIANT := x86-atom.

Change-Id: I6b7798944bb8262bd83a76712419d8a77d3c34e9
parent 8339ba91
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -159,7 +159,13 @@ $(TARGET_CXX) \
	$(TARGET_CRTEND_O)
endef

TARGET_GLOBAL_CFLAGS += -m32 -D__ANDROID__
ifeq ($(TARGET_ARCH_VARIANT),x86-atom)
    # Enable recent IA friendly memory routines (such as for Atom)
    # These will not work on the earlier x86 machines
    TARGET_GLOBAL_CFLAGS += -mtune=i686 -DUSE_SSSE3 -DUSE_SSE2
endif

TARGET_GLOBAL_CFLAGS += -D__ANDROID__
TARGET_GLOBAL_LDFLAGS += -m32

endif #simulator