Skip to content

Commit

Permalink
net/tightvnc: fix build without GCC on powerpc* and riscv64
Browse files Browse the repository at this point in the history
aarch64 needs to be tested separately.
  • Loading branch information
pkubaj committed Apr 25, 2022
1 parent 25a3459 commit a2d5ef7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion net/tightvnc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ PREFIX=${TIGHTVNC_BASE}

.include <bsd.port.pre.mk>

.if ${ARCH} == aarch64 || ${ARCH:Mpowerpc*} || ${ARCH} == riscv64
.if ${ARCH} == aarch64
USE_GCC= yes
.endif

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#define write_mem_barrier() /* NOP */

-#if !defined(FAKEIT) && !defined(__mc68000__)
+#if !defined(FAKEIT) && !defined(__mc68000__) && !defined(__arm__)
+#if !defined(FAKEIT) && !defined(__mc68000__) && !defined(__arm__) && !defined(__powerpc__) && !defined(__riscv)
#ifdef GCCUSESGAS

/*

0 comments on commit a2d5ef7

Please sign in to comment.