29 lines
776 B
Diff
29 lines
776 B
Diff
Index: gmic-2.9.9/src/Makefile
|
|
===================================================================
|
|
--- gmic-2.9.9.orig/src/Makefile
|
|
+++ gmic-2.9.9/src/Makefile
|
|
@@ -192,9 +192,9 @@ endif
|
|
|
|
# Enable optimizations for 'cli'.
|
|
FLTO = -flto
|
|
-OPT_CLI_CFLAGS = -Ofast
|
|
+OPT_CLI_CFLAGS =
|
|
ifdef IS_GCC
|
|
-OPT_CLI_CFLAGS = -Ofast -mtune=generic $(FLTO)
|
|
+OPT_CLI_CFLAGS = $(FLTO)
|
|
OPT_CLI_LIBS = $(FLTO)
|
|
endif
|
|
ifdef icpc
|
|
Index: gmic-2.9.9/gmic-qt/gmic_qt.pro
|
|
===================================================================
|
|
--- gmic-2.9.9.orig/gmic-qt/gmic_qt.pro
|
|
+++ gmic-2.9.9/gmic-qt/gmic_qt.pro
|
|
@@ -445,7 +445,6 @@ translations/zh_tw.ts
|
|
|
|
# PRE_TARGETDEPS +=
|
|
|
|
-QMAKE_CXXFLAGS_RELEASE += -Ofast # -O3 -s
|
|
QMAKE_LFLAGS_RELEASE += -s
|
|
QMAKE_CXXFLAGS_DEBUG += -Dcimg_verbosity=3
|
|
|