From 1c32a15bb57e6363b699b54b4a769a264e5b4001 Mon Sep 17 00:00:00 2001 From: "Martin T. H. Sandsmark" Date: Sat, 3 Apr 2021 12:51:09 +0200 Subject: [PATCH] Don't strip all optimization flags. Some basic compiler functionality is dependendent on having optimizations enabled. There shouldn't be any issues with -O2, which is the default for qmake's release builds. --- Desktop_Interface/Labrador.pro | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/Desktop_Interface/Labrador.pro b/Desktop_Interface/Labrador.pro index 20d61baf..6e079d40 100644 --- a/Desktop_Interface/Labrador.pro +++ b/Desktop_Interface/Labrador.pro @@ -250,29 +250,6 @@ QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.10 unix:SOURCES += unixusbdriver.cpp unix:HEADERS += unixusbdriver.h -############################################################# -######## SHARED ANDROID/LINUX GCC FLAGS ######### -########################################################### - -unix:!macx: QMAKE_CXXFLAGS_RELEASE -= -O0 -unix:!macx: QMAKE_CXXFLAGS_RELEASE -= -O1 -unix:!macx: QMAKE_CXXFLAGS_RELEASE -= -O2 -unix:!macx: QMAKE_CXXFLAGS_RELEASE -= -O3 - -android: QMAKE_CXXFLAGS_RELEASE -= -O0 -android: QMAKE_CXXFLAGS_RELEASE -= -O1 -android: QMAKE_CXXFLAGS_RELEASE -= -O2 -android: QMAKE_CXXFLAGS_RELEASE -= -O3 -android: QMAKE_CXXFLAGS_RELEASE -= -Os - - -android: QMAKE_CFLAGS_RELEASE -= -O0 -android: QMAKE_CFLAGS_RELEASE -= -O1 -android: QMAKE_CFLAGS_RELEASE -= -O2 -android: QMAKE_CFLAGS_RELEASE -= -O3 -android: QMAKE_CFLAGS_RELEASE -= -Os - - ############################################################# ################# ANDROID BUILD ONLY ################# ###########################################################