From d0ffeba14e99c2cdd5607d0c4681fd445b319802 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Tue, 9 Mar 2021 13:13:30 +0000 Subject: [PATCH] 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) --- sysutils/lcdproc/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sysutils/lcdproc/Makefile b/sysutils/lcdproc/Makefile index 8a8dde5ab8c1..55ae479e6c63 100644 --- a/sysutils/lcdproc/Makefile +++ b/sysutils/lcdproc/Makefile @@ -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=""