Browse Source

OpenPandora build flags

gh-pages
falkTX 9 years ago
parent
commit
7adcad413b
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      dgl/Makefile.mk

+ 9
- 0
dgl/Makefile.mk View File

@@ -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


Loading…
Cancel
Save