Browse Source

Only use -mtune=generic on intel-based architectures

Signed-off-by: falkTX <falktx@falktx.com>
pull/215/merge
falkTX 2 years ago
parent
commit
de8ace2f30
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      Makefile.base.mk

+ 2
- 2
Makefile.base.mk View File

@@ -129,10 +129,10 @@ endif
# Set build and link flags

BASE_FLAGS = -Wall -Wextra -pipe -MD -MP
BASE_OPTS = -O3 -ffast-math -mtune=generic -fdata-sections -ffunction-sections
BASE_OPTS = -O3 -ffast-math -fdata-sections -ffunction-sections

ifeq ($(CPU_I386_OR_X86_64),true)
BASE_OPTS += -msse -msse2
BASE_OPTS += -mtune=generic -msse -msse2
endif

ifeq ($(CPU_ARM),true)


Loading…
Cancel
Save