Date: Fri, 1 May 2020 17:03:59 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r533565 - branches/2020Q2/graphics/photoflare Message-ID: <202005011703.041H3xoE033366@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Fri May 1 17:03:58 2020 New Revision: 533565 URL: https://svnweb.freebsd.org/changeset/ports/533565 Log: MFH: r533564 graphics/photoflare: fix build on GCC architectures GCC doesn't have libomp, it uses -fopenmp flag. PR: 246089 Approved by: yuri (maintainer) Approved by: portmgr (fix build blanket) Modified: branches/2020Q2/graphics/photoflare/Makefile Directory Properties: branches/2020Q2/ (props changed) Modified: branches/2020Q2/graphics/photoflare/Makefile ============================================================================== --- branches/2020Q2/graphics/photoflare/Makefile Fri May 1 16:59:28 2020 (r533564) +++ branches/2020Q2/graphics/photoflare/Makefile Fri May 1 17:03:58 2020 (r533565) @@ -19,6 +19,8 @@ USE_QT= core gui network printsupport widgets buildto USE_GL= gl CXXFLAGS+= `pkg-config --cflags GraphicsMagick++` -LDFLAGS+= `pkg-config --libs GraphicsMagick++` -lomp +LDFLAGS+= `pkg-config --libs GraphicsMagick++` ${LDFLAGS_${CHOSEN_COMPILER_TYPE}} +LDFLAGS_clang= -lomp +LDFLAGS_gcc= -fopenmp .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005011703.041H3xoE033366>