diff options
| -rw-r--r-- | textproc/gitlab-code-parser/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/textproc/gitlab-code-parser/Makefile b/textproc/gitlab-code-parser/Makefile index 214d225cab68..60f504ec7427 100644 --- a/textproc/gitlab-code-parser/Makefile +++ b/textproc/gitlab-code-parser/Makefile @@ -19,6 +19,14 @@ USES= cargo ssl USE_GITLAB= yes GL_ACCOUNT= gitlab-org GL_PROJECT= rust/gitlab-code-parser + +# Try to fix on i386: compilation fails: ld: error: undefined symbol: __atomic_load +# I cannot test it, so lets wait for next cluster build +.if ${ARCH} == i386 +LIB_DEPENDS+= libatomic.so:lang/gcc${GCC_DEFAULT} +LDFLAGS+= -L/usr/local/lib/gcc${GCC_DEFAULT} -latomic +.endif + WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION} PLIST_FILES= bin/parser-cli \ |
