Browse Source

Add some default optimizations for ARM

pull/191/head
JP Cimalando 6 years ago
parent
commit
3c65d04757
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      Makefile.base.mk

+ 4
- 0
Makefile.base.mk View File

@@ -135,6 +135,10 @@ ifeq ($(CPU_I386_OR_X86_64),true)
BASE_OPTS += -msse -msse2
endif

ifeq ($(CPU_ARM),true)
BASE_OPTS += -mfpu=neon-vfpv4 -mfloat-abi=hard
endif

ifeq ($(MACOS),true)
# MacOS linker flags
LINK_OPTS = -fdata-sections -ffunction-sections -Wl,-dead_strip -Wl,-dead_strip_dylibs


Loading…
Cancel
Save