diff --git a/dgl/Makefile.mk b/dgl/Makefile.mk index 4eee9ca7..0f2141c9 100644 --- a/dgl/Makefile.mk +++ b/dgl/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