git: acbcf49e1098 - main - graphics/lua-gd: fix build on riscv64

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Thu, 23 Dec 2021 22:20:24 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=acbcf49e1098f74d1ca911a9fb6cba16173696ba

commit acbcf49e1098f74d1ca911a9fb6cba16173696ba
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-12-23 22:18:13 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2021-12-23 22:18:13 +0000

    graphics/lua-gd: fix build on riscv64
    
    Same issue as on other architectures.
---
 graphics/lua-gd/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/graphics/lua-gd/Makefile b/graphics/lua-gd/Makefile
index 9abb679af5c1..eb7b70a9407e 100644
--- a/graphics/lua-gd/Makefile
+++ b/graphics/lua-gd/Makefile
@@ -30,6 +30,7 @@ CFLAGS_amd64=	-fPIC
 CFLAGS_armv7=	-fPIC
 CFLAGS_i386=	-fPIC
 CFLAGS_powerpc=	-fPIC
+CFLAGS_riscv64=	-fPIC
 
 do-build:
 	${CC} -o ${WRKSRC}/gd.so ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} ${GDFEATURES} ${WRKSRC}/luagd.c