freebsd-ports/audio/libopenspc/Makefile
Ed Maste 052ef3be8b audio/libopenspc: allow linking with lld on i386
By default lld does not allow relocations against read-only segments.
Add -Wl,-znotext to override the default.  No effect on GNU ld, where
this just reaffirms the default.

Approved by:	portmgr (lld blanket)
Sponsored by:	The FreeBSD Foundation
2018-09-18 20:00:51 +00:00

25 lines
552 B
Makefile

# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$
PORTNAME= libopenspc
PORTVERSION= 0.3.99a
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://rainbow-runner.nl/freebsd/ \
LOCAL/kwm
MAINTAINER= kwm@FreeBSD.org
COMMENT= Library for playing SPC (SNES audio) files
BUILD_DEPENDS= nasm:devel/nasm
GNU_CONFIGURE= yes
USES= gmake libtool
USE_LDCONFIG= yes
ONLY_FOR_ARCHS= i386
LDFLAGS_i386= -Wl,-znotext
PLIST_FILES= include/openspc.h lib/libopenspc.a \
lib/libopenspc.so lib/libopenspc.so.0 lib/libopenspc.so.0.0.3
.include <bsd.port.mk>