diff options
author | mef <mef@pkgsrc.org> | 2020-04-18 04:13:51 +0000 |
---|---|---|
committer | mef <mef@pkgsrc.org> | 2020-04-18 04:13:51 +0000 |
commit | bdd422176a8776c8405e5be6edada29919c9b9df (patch) | |
tree | 7df841e663bee738bebcf46eee93d41b3abe300c /audio | |
parent | a0414a5c6fd87e835b41994a95206d7ebbf99f73 (diff) | |
download | pkgsrc-bdd422176a8776c8405e5be6edada29919c9b9df.tar.gz |
(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 (limited to 'audio')
-rw-r--r-- | audio/deforaos-mixer/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/deforaos-mixer/Makefile b/audio/deforaos-mixer/Makefile index 2841881235a..0be9877da8b 100644 --- a/audio/deforaos-mixer/Makefile +++ b/audio/deforaos-mixer/Makefile @@ -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 @@ USE_TOOLS+= xgettext 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} |