Commit ce947eeb authored by Mark Olesen's avatar Mark Olesen Committed by Andrew Heather
Browse files

STYLE: relocate -mcpu into compiler instead of compiler-flags (#1225)

parent f01849ff
SUFFIXES += .c SUFFIXES += .c
cc = armclang -mpcu=native cc = armclang -mcpu=native
cWARN = -Wall cWARN = -Wall
......
include $(GENERAL_RULES)/Gcc/c include $(GENERAL_RULES)/Gcc/c
cc = gcc cc = gcc -mcpu=cortex-a9
include $(DEFAULT_RULES)/c$(WM_COMPILE_OPTION) include $(DEFAULT_RULES)/c$(WM_COMPILE_OPTION)
......
include $(GENERAL_RULES)/Gcc/c++ include $(GENERAL_RULES)/Gcc/c++
CC = g++ -std=c++11 CC = g++ -std=c++11 -mcpu=cortex-a9
include $(DEFAULT_RULES)/c++$(WM_COMPILE_OPTION) include $(DEFAULT_RULES)/c++$(WM_COMPILE_OPTION)
......
c++DBUG = c++DBUG =
#c++OPT = -O3 -floop-optimize -falign-loops -falign-labels -falign-functions -falign-jumps -fprefetch-loop-arrays -mcpu=cortex-a9 -mfpu=vfpv3-d16 -mfloat-abi=hard #c++OPT = -O3 -floop-optimize -falign-loops -falign-labels -falign-functions -falign-jumps -fprefetch-loop-arrays -mfpu=vfpv3-d16 -mfloat-abi=hard
c++OPT = -O3 -floop-optimize -falign-loops -falign-labels -falign-functions -falign-jumps -fprefetch-loop-arrays -mcpu=cortex-a9 -mfpu=vfpv3-d16 -mfloat-abi=softfp c++OPT = -O3 -floop-optimize -falign-loops -falign-labels -falign-functions -falign-jumps -fprefetch-loop-arrays -mfpu=vfpv3-d16 -mfloat-abi=softfp
ROUNDING_MATH = -frounding-math ROUNDING_MATH = -frounding-math
cDBUG = cDBUG =
#cOPT = -O3 -floop-optimize -falign-loops -falign-labels -falign-functions -falign-jumps -fprefetch-loop-arrays -mcpu=cortex-a9 -mfpu=vfpv3-d16 -mfloat-abi=hard #cOPT = -O3 -floop-optimize -falign-loops -falign-labels -falign-functions -falign-jumps -fprefetch-loop-arrays -mfpu=vfpv3-d16 -mfloat-abi=hard
cOPT = -O3 -floop-optimize -falign-loops -falign-labels -falign-functions -falign-jumps -fprefetch-loop-arrays -mcpu=cortex-a9 -mfpu=vfpv3-d16 -mfloat-abi=softfp cOPT = -O3 -floop-optimize -falign-loops -falign-labels -falign-functions -falign-jumps -fprefetch-loop-arrays -mfpu=vfpv3-d16 -mfloat-abi=softfp
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment