diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2019-12-07 17:52:59 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2019-12-07 17:52:59 +0000 |
commit | 9094335869dc373b4e5a8b54a4b8a67dd9b09ae8 (patch) | |
tree | 606972229ec2a836c0aad87faea8719f969195df /comms/flrig | |
parent | 8a89a49ef8a510e3738986a87c654401d2e4acf7 (diff) | |
download | ports-9094335869dc373b4e5a8b54a4b8a67dd9b09ae8.tar.gz ports-9094335869dc373b4e5a8b54a4b8a67dd9b09ae8.zip |
comms/flrig: fix build on powerpc64 elfv2
On powerpc64 elfv2, -mminimal-toc is unnecessary and breaks build.
PR: 242500
Approved by: yuri (maintainer)
Notes
Notes:
svn path=/head/; revision=519225
Diffstat (limited to 'comms/flrig')
-rw-r--r-- | comms/flrig/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/comms/flrig/Makefile b/comms/flrig/Makefile index 67b861a1df28..65a0ff8546c7 100644 --- a/comms/flrig/Makefile +++ b/comms/flrig/Makefile @@ -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> |