summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2019-04-19 16:13:22 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2019-04-19 16:13:22 +0000
commit0520aba9d1cc9353d995fb003d9d071d50edcac3 (patch)
tree02d195b99d0bbe1aa9d6ad5dc5ced6411f116d7e
parentUpdate to 4.1.26 (diff)
devel/hpx: fix build with GCC-based architectures
PR: 237381 Submitted by: Piotr Kubaj <pkubaj@FreeBSD.org>
-rw-r--r--devel/hpx/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/devel/hpx/Makefile b/devel/hpx/Makefile
index 9a33d163e599..55c9c1a99518 100644
--- a/devel/hpx/Makefile
+++ b/devel/hpx/Makefile
@@ -22,5 +22,7 @@ USE_LDCONFIG= yes
CMAKE_ON= HPX_WITH_GENERIC_CONTEXT_COROUTINES
CMAKE_OFF= HPX_WITH_EXAMPLES HPX_WITH_TESTS
+LDFLAGS+= ${LDFLAGS_${CHOSEN_COMPILER_TYPE}}
+LDFLAGS_gcc= -latomic
.include <bsd.port.mk>