Browse Source

Less optimizations for no-sse build

tags/v1.9.9
falkTX FilipeCSnuk 6 years ago
parent
commit
e183b1d54f
3 changed files with 3 additions and 2 deletions
  1. +1
    -1
      data/windows/build-deps.sh
  2. +1
    -0
      data/windows/build-win.sh
  3. +1
    -1
      source/Makefile.mk

+ 1
- 1
data/windows/build-deps.sh View File

@@ -122,7 +122,7 @@ export PATH=/opt/mingw${ARCH}/${MINGW_PREFIX}/bin:/opt/mingw${ARCH}/bin:${PATH}
if [ -z "${NOSSE}" ]; then
export CFLAGS="-O3 -mtune=generic -msse -msse2 -mfpmath=sse -fvisibility=hidden -fdata-sections -ffunction-sections"
else
export CFLAGS="-O3 -mtune=generic -fvisibility=hidden -fdata-sections -ffunction-sections"
export CFLAGS="-O2 -fvisibility=hidden -fdata-sections -ffunction-sections"
fi

export CFLAGS="${CFLAGS} -DNDEBUG -DPTW32_STATIC_LIB -DFLUIDSYNTH_NOT_A_DLL -I${PREFIX}/include -I/opt/mingw${ARCH}/include"


+ 1
- 0
data/windows/build-win.sh View File

@@ -13,6 +13,7 @@ fi

if [ x"${ARCH}" = x"32nosse" ]; then
ARCH="32"
MAKE_ARGS="NOOPT=true"
fi

# ---------------------------------------------------------------------------------------------------------------------


+ 1
- 1
source/Makefile.mk View File

@@ -108,7 +108,7 @@ endif

ifeq ($(NOOPT),true)
# No CPU-specific optimization flags
BASE_OPTS = -O3 -ffast-math -fdata-sections -ffunction-sections
BASE_OPTS = -O2 -ffast-math -fdata-sections -ffunction-sections
endif

ifneq ($(WIN32),true)


Loading…
Cancel
Save