mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
net/tightvnc: fix build without GCC on powerpc* and riscv64
aarch64 needs to be tested separately.
This commit is contained in:
parent
25a3459f36
commit
a2d5ef79f6
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue