svn commit: r519225 - head/comms/flrig

Piotr Kubaj pkubaj at FreeBSD.org
Sat Dec 7 17:52:59 UTC 2019


Author: pkubaj
Date: Sat Dec  7 17:52:59 2019
New Revision: 519225
URL: https://svnweb.freebsd.org/changeset/ports/519225

Log:
  comms/flrig: fix build on powerpc64 elfv2
  
  On powerpc64 elfv2, -mminimal-toc is unnecessary and breaks build.
  
  PR:	242500
  Approved by:	yuri (maintainer)

Modified:
  head/comms/flrig/Makefile

Modified: head/comms/flrig/Makefile
==============================================================================
--- head/comms/flrig/Makefile	Sat Dec  7 17:33:53 2019	(r519224)
+++ head/comms/flrig/Makefile	Sat Dec  7 17:52:59 2019	(r519225)
@@ -29,6 +29,10 @@ NATIVE_OPT_DESC=	Enable Native Optimizations
 NATIVE_OPT_CONFIGURE_ON+=	--enable-optimizations=native
 NATIVE_OPT_CONFIGURE_OFF+=	--enable-optimizations=none
 
-CFLAGS_powerpc64=	-mminimal-toc
+.include <bsd.port.pre.mk>
 
-.include <bsd.port.mk>
+.if defined(PPC_ABI) && ${PPC_ABI} == ELFv1
+CFLAGS+=	-mminimal-toc
+.endif
+
+.include <bsd.port.post.mk>


More information about the svn-ports-all mailing list