Changed flasg for compiling.

pull/1/head
Holger Wirtz 8 years ago
parent b579f7b8c9
commit b8182c6398
  1. 10
      src/Makefile
  2. 4
      src/dexed.mk

@ -19,6 +19,7 @@ machine = $(shell sh -c 'uname -m 2>/dev/null || echo unknown')
ifneq (,$(findstring x86,$(machine))) ifneq (,$(findstring x86,$(machine)))
CPU = CPU =
FPU = FPU =
CXXFLAGS += -ffast-math -fprefetch-loop-arrays -funroll-loops -funsafe-loop-optimizations
endif endif
# Raspberry Pi B+, Zero, etc # Raspberry Pi B+, Zero, etc
@ -46,14 +47,13 @@ ifneq (,$(findstring aarch64,$(machine)))
PLATFORM += -mabi=lp64 -mcmodel=tiny PLATFORM += -mabi=lp64 -mcmodel=tiny
endif endif
# MOD-Duo
ifeq ($(MOD),1) ifeq ($(MOD),1)
CPU = -O3 -mcpu=cortex-a7 CPU = -O3 -mtune=cortex-a7
PLATFORM += -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -mvectorize-with-neon-quad PLATFORM += -mfpu=neon-vfpv4 -mfloat-abi=hard -mvectorize-with-neon-quad
endif endif
ifneq ($(findstring arm,$(ARCH)),) CXXFLAGS += $(CPU) $(PLATFORM)
CXXFLAGS +=
endif
ifeq ($(DEBUG), 1) ifeq ($(DEBUG), 1)
ifeq ($(FILETRACE), 1) ifeq ($(FILETRACE), 1)

@ -5,12 +5,12 @@
###################################### ######################################
DEXED_DEPENDENCIES = lvtk DEXED_DEPENDENCIES = lvtk
DEXED_VERSION = ca1c9887828a6215ea58b397171d05484a4be513 DEXED_VERSION = b579f7b8c94b85cbabcd3cb2e532a7908720a218
DEXED_BUNDLES = dexed.lv2 DEXED_BUNDLES = dexed.lv2
DEXED_SITE = $(call github,dcoredump,dexed,$(DEXED_VERSION)) DEXED_SITE = $(call github,dcoredump,dexed,$(DEXED_VERSION))
define DEXED_BUILD_CMDS define DEXED_BUILD_CMDS
(cd $(@D)/src && $(TARGET_MAKE_ENV) make -j $(PARALLEL_JOBS)) (cd $(@D)/src && $(TARGET_MAKE_ENV) make MOD=1 -j $(PARALLEL_JOBS))
endef endef
define DEXED_INSTALL_TARGET_CMDS define DEXED_INSTALL_TARGET_CMDS

Loading…
Cancel
Save