From 65ebab068808e90c40203e1ff4ec719c4837f30b Mon Sep 17 00:00:00 2001 From: wernsaar Date: Sun, 1 Dec 2013 16:46:32 +0100 Subject: [PATCH] modified Makefile.system --- Makefile.system | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/Makefile.system b/Makefile.system index 7da074a65..ee6a89046 100644 --- a/Makefile.system +++ b/Makefile.system @@ -373,6 +373,19 @@ NO_BINARY_MODE = 1 BINARY_DEFINED = 1 endif +ifeq ($(ARCH), arm) +NO_BINARY_MODE = 1 +BINARY_DEFINED = 1 +endif + +ifeq ($(ARCH), arm64) +NO_BINARY_MODE = 1 +BINARY_DEFINED = 1 +endif + + + + # # C Compiler dependent settings # @@ -833,6 +846,19 @@ ifeq ($(DEBUG), 1) COMMON_OPT += -g endif +ifndef COMMON_OPT +ifeq ($(ARCH), arm) +COMMON_OPT = -O3 +endif +endif + +ifndef COMMON_OPT +ifeq ($(ARCH), arm64) +COMMON_OPT = -O3 +endif +endif + + ifndef COMMON_OPT COMMON_OPT = -O2 endif @@ -958,6 +984,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