graphics/photoflare: fix build on GCC architectures

GCC doesn't have libomp, it uses -fopenmp flag.

PR:		246089
Approved by:	yuri (maintainer)
MFH:		2020Q2 (fix build blanket)
This commit is contained in:
Piotr Kubaj 2020-05-01 16:59:28 +00:00
parent 65c6bc94ff
commit cb4ff12535
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=533564

View File

@ -19,6 +19,8 @@ USE_QT= core gui network printsupport widgets buildtools_build linguisttools_bu
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>