Browse Source

changed default optimization flag for ARM from -O2 to -O3

tags/v0.2.9.rc1
wernsaar 12 years ago
parent
commit
e25de3d182
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      Makefile.system

+ 8
- 0
Makefile.system View File

@@ -830,8 +830,12 @@ COMMON_OPT += -g
endif

ifndef COMMON_OPT
ifeq ($(ARCH), arm)
COMMON_OPT = -O3
else
COMMON_OPT = -O2
endif
endif


override CFLAGS += $(COMMON_OPT) $(CCOMMON_OPT) -I$(TOPDIR)
@@ -929,6 +933,10 @@ export HAVE_SSE4_2
export HAVE_SSE4A
export HAVE_SSE5
export HAVE_AVX
export HAVE_VFP
export HAVE_VFPV3
export HAVE_VFPV4
export HAVE_NEON
export KERNELDIR
export FUNCTION_PROFILE
export TARGET_CORE


Loading…
Cancel
Save