From 023bccdeffafc4212292072a1eba78d9e709510e Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 10 Jan 2022 01:33:35 +0000 Subject: [PATCH] Fix inverted logic Signed-off-by: falkTX --- bootstrap-qt.sh | 2 +- setup/env.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap-qt.sh b/bootstrap-qt.sh index 4e72b19..1fe4a10 100755 --- a/bootstrap-qt.sh +++ b/bootstrap-qt.sh @@ -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 diff --git a/setup/env.sh b/setup/env.sh index 32987be..5ce98dc 100644 --- a/setup/env.sh +++ b/setup/env.sh @@ -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