Removed -march=native compiler and linker flags. This should make the

binary builds more compatible, and also eliminate an issue on Pop! OS,
where the default optimizations clashed.
merge-requests/3/merge
Elliott Liggett 2021-05-08 23:30:49 -07:00
rodzic 51fcf4f583
commit 3968cdcbb0
1 zmienionych plików z 1 dodań i 3 usunięć

Wyświetl plik

@ -11,8 +11,6 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport
TARGET = wfview
TEMPLATE = app
QMAKE_CXXFLAGS += -march=native
CONFIG(debug, release|debug) {
# For Debug builds only:
@ -21,7 +19,7 @@ CONFIG(debug, release|debug) {
QMAKE_CXXFLAGS += -s
QMAKE_CXXFLAGS += -fvisibility=hidden
QMAKE_CXXFLAGS += -fvisibility-inlines-hidden
QMAKE_LFLAGS += -O2 -march=native -s
QMAKE_LFLAGS += -O2 -s
}
# The following define makes your compiler emit warnings if you use