Browse Source

Avoid adding host-specific cpuflags to the common part of DYNAMIC_ARCH builds

tags/v0.3.15
Martin Kroeker GitHub 4 years ago
parent
commit
5332cbae18
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 1 deletions
  1. +12
    -1
      Makefile.x86

+ 12
- 1
Makefile.x86 View File

@@ -1,10 +1,21 @@
# COMPILER_PREFIX = mingw32-

ifndef DYNAMIC_ARCH
ADD_CPUFLAGS = 1
else
ifdef TARGET_CORE
ADD_CPUFLAGS = 1
endif
endif

ifdef ADD_CPUFLAGS
ifdef HAVE_SSE
CCOMMON_OPT += -msse
ifneq ($(F_COMPILER), NAG)
FCOMMON_OPT += -msse
endif

endif
endif

ifeq ($(OSNAME), Interix)
ARFLAGS = -m x86


Loading…
Cancel
Save