1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
# Platform defs for Raspberry PI Hard floats
export GLUT_SUPPORTED=1
ifeq "$(CFG)" "Release"
# Hardware specifying flags
# hardfp is now default, so no extra flags needed
# CFLAGS += -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard
# 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
endif
|