Browse Source

ysfx build tweaks as needed for armhf and MOD builds

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.5.0
falkTX 2 years ago
parent
commit
f428af3894
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      source/modules/ysfx/Makefile

+ 11
- 0
source/modules/ysfx/Makefile View File

@@ -27,6 +27,17 @@ YSFX_FLAGS += -Wno-sign-compare
YSFX_FLAGS += -Wno-unused-function
YSFX_FLAGS += -Wno-unused-parameter

ifeq ($(CPU_ARM),true)
ifneq ($(CPU_ARM64),true)
# optimized assembly code for armhf does not run properly yet
YSFX_FLAGS += -DEEL_TARGET_PORTABLE
endif
endif

ifeq ($(YSFX_FTS_LACKS_LFS_SUPPORT),true)
YSFX_FLAGS += -DYSFX_FTS_LACKS_LFS_SUPPORT
endif

ifneq ($(WIN32),true)
# NOTE: not compatible with MingGW, breaks win32_utf8
YSFX_FLAGS += -D_FILE_OFFSET_BITS=64


Loading…
Cancel
Save