summaryrefslogtreecommitdiff
path: root/Makefile.mk
diff options
context:
space:
mode:
authorfalkTX <falktx@gmail.com>2014-07-13 06:06:39 +0100
committerfalkTX <falktx@gmail.com>2014-07-13 06:06:39 +0100
commit5db63e54c65b72d0d197bf985e638d814f2b6267 (patch)
tree7d66e932d4632e2b3bef485806d7dcdf48078ee6 /Makefile.mk
parent753d30042126827437b8603014b6cab1c271f76f (diff)
Add OpenPandora flags
Diffstat (limited to 'Makefile.mk')
-rw-r--r--Makefile.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.mk b/Makefile.mk
index bbc8005..a2c5445 100644
--- a/Makefile.mk
+++ b/Makefile.mk
@@ -42,6 +42,15 @@ endif
LINK_OPTS = -Wl,-O1 -Wl,--as-needed -Wl,--strip-all
endif
+ifeq ($(PANDORA),true)
+# OpenPandora flags
+BASE_OPTS = -O2 -ffast-math
+ifneq ($(NOOPT),true)
+BASE_OPTS += -march=armv7-a -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp
+endif
+LINK_OPTS = -Wl,-O1 -Wl,--as-needed -Wl,--strip-all
+endif
+
ifneq ($(WIN32),true)
# not needed for Windows
BASE_FLAGS += -fPIC -DPIC