Browse Source

Fix inverted logic

Signed-off-by: falkTX <falktx@falktx.com>
pull/25/head
falkTX 3 years ago
parent
commit
023bccdeff
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      bootstrap-qt.sh
  2. +1
    -1
      setup/env.sh

+ 1
- 1
bootstrap-qt.sh View File

@@ -272,7 +272,7 @@ elif [ "${MACOS}" -eq 1 ]; then
fi
if [ "${WIN32}" -eq 1 ]; then
patch_file qtbase${qtsuffix} ${QT5_VERSION} "mkspecs/win32-g++/qmake.conf" 's/= -shared/= -static -shared/'
patch_file qtbase${qtsuffix} ${QT5_VERSION} "mkspecs/win32-g++/qmake.conf" 's/= -fno-keep-inline-dllexport/= -Wdeprecated-copy -Wno-deprecated-declarations -fno-keep-inline-dllexport/'
patch_file qtbase${qtsuffix} ${QT5_VERSION} "mkspecs/win32-g++/qmake.conf" 's/= -fno-keep-inline-dllexport/= -Wno-deprecated-declarations -fno-keep-inline-dllexport/'
patch_file qtbase${qtsuffix} ${QT5_VERSION} "src/plugins/platforms/direct2d/direct2d.pro" 's/-lVersion/-lversion/'
fi



+ 1
- 1
setup/env.sh View File

@@ -57,7 +57,7 @@ BUILD_FLAGS+=" -ffast-math"
BUILD_FLAGS+=" -fPIC -DPIC -DNDEBUG -D_FORTIFY_SOURCE=2"
BUILD_FLAGS+=" -fdata-sections -ffunction-sections -fno-common -fstack-protector -fvisibility=hidden"

if [ "${PAWPAW_SKIP_LTO}" -eq 1 ]; then
if [ -z "${PAWPAW_SKIP_LTO}" ] || [ "${PAWPAW_SKIP_LTO}" -eq 0 ]; then
BUILD_FLAGS+=" -fno-strict-aliasing -flto"
fi



Loading…
Cancel
Save