summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>