pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/deforaos-mixer (audio/deforaos-mixer) +CFLAGS+=...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e4293421b4aa
branches:  trunk
changeset: 427550:e4293421b4aa
user:      mef <mef%pkgsrc.org@localhost>
date:      Sat Apr 18 04:13:51 2020 +0000

description:
(audio/deforaos-mixer)  +CFLAGS+=       -fPIC

Compile error log: (Similar message found on aarch64)
ld: mute.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC

(please advice me if I'm doing wrong, thanks)

diffstat:

 audio/deforaos-mixer/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 6a209cb75026 -r e4293421b4aa audio/deforaos-mixer/Makefile
--- a/audio/deforaos-mixer/Makefile     Sat Apr 18 03:56:05 2020 +0000
+++ b/audio/deforaos-mixer/Makefile     Sat Apr 18 04:13:51 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2020/03/10 22:09:19 wiz Exp $
+# $NetBSD: Makefile,v 1.27 2020/04/18 04:13:51 mef Exp $
 
 DISTNAME=      Mixer-0.4.0
 PKGNAME=       deforaos-mixer-0.4.0
@@ -18,6 +18,8 @@
 BUILD_DEPENDS+=        libxslt-[0-9]*:../../textproc/libxslt
 BUILD_DEPENDS+=        docbook-xsl-[0-9]*:../../textproc/docbook-xsl
 
+CFLAGS+=       -fPIC
+
 MAKE_FLAGS+=   DESTDIR=${DESTDIR}
 MAKE_FLAGS+=   PREFIX=${PREFIX}
 MAKE_FLAGS+=   CFLAGS=${CFLAGS:Q}



Home | Main Index | Thread Index | Old Index