diff options
| author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2020-05-01 16:59:28 +0000 |
|---|---|---|
| committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2020-05-01 16:59:28 +0000 |
| commit | cb4ff125355bf701cc03a3216b555b568f4b5a2f (patch) | |
| tree | c418ca7c31c6f9e181a9f012283e5e8386c02aa5 | |
| parent | net-p2p/bitcoin*: remove db48 dependency (diff) | |
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)
| -rw-r--r-- | graphics/photoflare/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/photoflare/Makefile b/graphics/photoflare/Makefile index b7fcb4cd8fa1..c636c8023b64 100644 --- a/graphics/photoflare/Makefile +++ b/graphics/photoflare/Makefile @@ -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> |
