Browse Source

Fix armhf (non-aarch64) build

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

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

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

ifeq ($(CPU_ARM),true)
# In case -mthumb is enabled by default, we need -marm mode
YSFX_FLAGS += -marm
endif

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


Loading…
Cancel
Save