Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Sep 2019 09:35:33 +0000 (UTC)
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r513210 - head/graphics/rawtherapee
Message-ID:  <201909290935.x8T9ZXg8021806@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mandree
Date: Sun Sep 29 09:35:32 2019
New Revision: 513210
URL: https://svnweb.freebsd.org/changeset/ports/513210

Log:
  Drop default arguments from _LTO_FLAGS.
  
  Context:
  PR: 240594

Modified:
  head/graphics/rawtherapee/Makefile

Modified: head/graphics/rawtherapee/Makefile
==============================================================================
--- head/graphics/rawtherapee/Makefile	Sun Sep 29 09:08:04 2019	(r513209)
+++ head/graphics/rawtherapee/Makefile	Sun Sep 29 09:35:32 2019	(r513210)
@@ -35,7 +35,16 @@ USE_GNOME=	gtkmm30 librsvg2
 USE_GCC=	9+
 USE_BINUTILS=	yes
 
-_LTO_FLAGS=	-flto=${MAKE_JOBS_NUMBER} -fuse-linker-plugin -fno-fat-lto-objects
+# gcc needs -flto=${MAKE_JOBS_NUMBER} for parallel link
+#   and does not understand -flto=thin
+#   
+# llvm/clang needs -flto=thin and will automatically parallelize the link
+#
+# As of 2019-09-29, this port is known to be micompiled by clang90 (SIGSEGV or SIBGUS)
+# FreeBSD 12.0's base clang 6.0.1 emits worse code with considerably higher
+# processing times.
+# so we shall stick to GCC 9.x for now
+_LTO_FLAGS=	-flto=${MAKE_JOBS_NUMBER}
 _AR=		${CC:S/gcc/gcc-ar/}
 _RANLIB=	${CC:S/gcc/gcc-ranlib/}
 CFLAGS+=	-I${LOCALBASE}/include -fPIC ${_LTO_FLAGS} ${_OPT_FLAGS}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909290935.x8T9ZXg8021806>