1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
# some defaults
export GLUT_SUPPORTED=1
ifeq "$(CFG)" "Release"
# Hardware specifying flags
CFLAGS += -Wno-unused-local-typedefs -march=armv7-a -mtune=cortex-a9 -mfpu=neon #-mfloat-abi=softfp #-mcpu=cortex-a8
# Optimization level, minus currently buggy optimizing methods (which break bit-exact)
CFLAGS += -O3 -fno-tree-pre -fno-strict-aliasing
# More optimization flags
CFLAGS += -ftree-vectorize -ffast-math -funsafe-math-optimizations #-fsingle-precision-constant
DEFINES += XN_NEON
CFLAGS += -flax-vector-conversions
endif
|