diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-03-09 13:13:30 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-03-09 13:13:30 +0000 |
commit | d0ffeba14e99c2cdd5607d0c4681fd445b319802 (patch) | |
tree | 4b3243c9d7e0a0feef874bf44937f4e171f7b641 | |
parent | daa3d4ee49d3493147f47039349599be2e852660 (diff) | |
download | ports-d0ffeba14e99c2cdd5607d0c4681fd445b319802.tar.gz ports-d0ffeba14e99c2cdd5607d0c4681fd445b319802.zip |
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)
Notes
Notes:
svn path=/branches/2021Q1/; revision=567927
-rw-r--r-- | sysutils/lcdproc/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
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="" |