moved compiler flags from Makefile.rule to Makefile.arm
This commit is contained in:
parent
04391e6d9c
commit
2d49db2f5b
|
@ -1,3 +1,7 @@
|
|||
ifdef BINARY64
|
||||
else
|
||||
|
||||
ifeq ($(CORE), ARMV7)
|
||||
CCOMMON_OPT += -marm -mfpu=vfpv3 -mfloat-abi=hard
|
||||
FCOMMON_OPT += -marm -mfpu=vfpv3 -mfloat-abi=hard
|
||||
endif
|
||||
|
||||
|
||||
|
|
|
@ -19,14 +19,14 @@ TARGET = ARMV7
|
|||
|
||||
# C compiler including binary type(32bit / 64bit). Default is gcc.
|
||||
# Don't use Intel Compiler or PGI, it won't generate right codes as I expect.
|
||||
# CC = gcc
|
||||
CC = gcc
|
||||
|
||||
# Fortran compiler. Default is g77.
|
||||
# FC = gfortran
|
||||
FC = gfortran
|
||||
|
||||
# Even you can specify cross compiler. Meanwhile, please set HOSTCC.
|
||||
CC = arm-linux-gnueabihf-gcc
|
||||
FC = arm-linux-gnueabihf-gfortran
|
||||
#CC = arm-linux-gnueabihf-gcc
|
||||
#FC = arm-linux-gnueabihf-gfortran
|
||||
|
||||
# If you use the cross compiler, please set this host compiler.
|
||||
HOSTCC = gcc
|
||||
|
@ -38,7 +38,7 @@ HOSTCC = gcc
|
|||
# specify it.
|
||||
# For force setting for single threaded, specify USE_THREAD = 0
|
||||
# For force setting for multi threaded, specify USE_THREAD = 1
|
||||
USE_THREAD = 0
|
||||
#USE_THREAD = 0
|
||||
|
||||
# If you're going to use this library with OpenMP, please comment it in.
|
||||
# USE_OPENMP = 1
|
||||
|
@ -46,7 +46,7 @@ USE_THREAD = 0
|
|||
# You can define maximum number of threads. Basically it should be
|
||||
# less than actual number of cores. If you don't specify one, it's
|
||||
# automatically detected by the the script.
|
||||
NUM_THREADS = 4
|
||||
NUM_THREADS = 16
|
||||
|
||||
# if you don't need generate the shared library, please comment it in.
|
||||
# NO_SHARED = 1
|
||||
|
@ -123,7 +123,7 @@ NO_AFFINITY = 1
|
|||
|
||||
# Common Optimization Flag;
|
||||
# The default -O2 is enough.
|
||||
COMMON_OPT = -O0 -marm -mfpu=vfpv3 -fno-omit-frame-pointer
|
||||
#COMMON_OPT = -O3 -marm -mfpu=vfpv3 -mfloat-abi=hard
|
||||
|
||||
# Profiling flags
|
||||
COMMON_PROF = -pg
|
||||
|
|
Loading…
Reference in New Issue