Skip to content

Commit

Permalink
emulators/dps8m: enable on powerpc64
Browse files Browse the repository at this point in the history
atomic_testandset_64 is not defined, so use atomic_testandset_long.
  • Loading branch information
pkubaj committed Sep 29, 2022
1 parent 498b9d9 commit 01e94e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion emulators/dps8m/Makefile
Expand Up @@ -11,7 +11,7 @@ LICENSE_NAME= ICU license
LICENSE_FILE= ${WRKSRC}/LICENSE.md
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

ONLY_FOR_ARCHS= aarch64 amd64
ONLY_FOR_ARCHS= aarch64 amd64 powerpc64
ONLY_FOR_ARCHS_REASON= __uint128_t is only implemented on 64-bit platforms

LIB_DEPENDS= libuv.so:devel/libuv
Expand All @@ -21,6 +21,7 @@ USES= gmake
USE_GITLAB= yes
GL_COMMIT= 572f79bb4f0f84a8b16c3892c894c2b9ed64b458

CFLAGS_powerpc64= -Datomic_testandset_64=atomic_testandset_long
MAKEFILE= GNUmakefile

MAKE_ARGS+= V=1 ATOMICS=BSD
Expand Down

0 comments on commit 01e94e6

Please sign in to comment.