1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

MFH: r567926

sysutils/lcdproc: fix build on powerpc64 elfv2

Use GCC:
In file included from serialVFD_io.c:45:
./port.h:344:32: error: invalid output constraint '=a' in asm
        __asm__ volatile ("inb %1,%0":"=a" (value)
This commit is contained in:
Piotr Kubaj 2021-03-09 13:13:30 +00:00
parent daa3d4ee49
commit d0ffeba14e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2021Q1/; revision=567927

View File

@ -93,6 +93,10 @@ PLIST_SUB+= X86=""
PLIST_SUB+= X86="@comment "
.endif
.if ${ARCH} == powerpc64
USE_GCC= any
.endif
.if ${PORT_OPTIONS:MUSB}
CONFIGURE_ARGS+= --enable-libusb
PLIST_SUB+= USB=""