Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jul 2021 22:05:34 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b951f4219021 - main - graphics/lua-gd: fix build on powerpc
Message-ID:  <202107152205.16FM5YPr007474@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

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

commit b951f4219021502e790e1c1281cdb141dd2ac3b8
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-07-15 22:02:30 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2021-07-15 22:02:30 +0000

    graphics/lua-gd: fix build on powerpc
    
    While here, remove unnecessary +.
---
 graphics/lua-gd/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/graphics/lua-gd/Makefile b/graphics/lua-gd/Makefile
index 81eb2dbbc20f..f6d39e3ded67 100644
--- a/graphics/lua-gd/Makefile
+++ b/graphics/lua-gd/Makefile
@@ -25,9 +25,10 @@ EXAMPLESDIR=	${LUA_EXAMPLESDIR}
 
 .include <bsd.port.options.mk>
 
-CFLAGS_aarch64+=-fPIC
-CFLAGS_amd64+=	-fPIC
-CFLAGS_i386+=	-fPIC
+CFLAGS_aarch64=	-fPIC
+CFLAGS_amd64=	-fPIC
+CFLAGS_i386=	-fPIC
+CFLAGS_powerpc=	-fPIC
 
 do-build:
 	${CC} -o ${WRKSRC}/gd.so ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} ${GDFEATURES} ${WRKSRC}/luagd.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107152205.16FM5YPr007474>