Sophie

Sophie

distrib > Mageia > 6 > armv5tl > media > core-release-src > by-pkgid > 1b33fe9915df1d3b738805532676d863 > files > 2

gmic-2.0.0-2.mga6.src.rpm

Index: gmic-2.0.0/src/Makefile
===================================================================
--- gmic-2.0.0/src/Makefile
+++ gmic-2.0.0/src/Makefile	2017-05-30 07:54:56.728350975 +0200
@@ -161,17 +161,6 @@
 # Flags to enable software debugging (slow down the code!).
 DEBUG_CFLAGS = -pedantic -Dcimg_verbosity=3 -Dcimg_strict_warnings -g -fsanitize=address # -fsanitize=thread # -fsanitize=undefined # Removed '-ansi' as it (silently) disables c++11.
 
-# Flags to enable optimizations.
-ifeq ($(notdir $(CXX)),g++)
-OPT_CFLAGS = -O3 -mtune=generic # -Ofast -march=native
-else
-ifeq ($(notdir $(CXX)),icpc)
-OPT_CFLAGS = -fast
-else
-OPT_CFLAGS = -O3
-endif
-endif
-
 # Flags to enable parallel processing.
 PARALLEL_CFLAGS = -Dgmic_is_parallel
 ifneq ($(OS),Windows)