pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/ghostscript Added -fPIC for Linux, since it was ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3b9ac5afb83a
branches: trunk
changeset: 550848:3b9ac5afb83a
user: rillig <rillig%pkgsrc.org@localhost>
date: Mon Dec 01 07:49:22 2008 +0000
description:
Added -fPIC for Linux, since it was reported to be necessary on x86_64
platforms via pkgsrc-users.
diffstat:
print/ghostscript/Makefile | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (24 lines):
diff -r ff6a3174b9f7 -r 3b9ac5afb83a print/ghostscript/Makefile
--- a/print/ghostscript/Makefile Mon Dec 01 07:03:02 2008 +0000
+++ b/print/ghostscript/Makefile Mon Dec 01 07:49:22 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.53 2008/11/13 17:36:54 chuck Exp $
+# $NetBSD: Makefile,v 1.54 2008/12/01 07:49:22 rillig Exp $
DISTNAME= ghostscript-8.63
PKGREVISION= 1
@@ -50,9 +50,11 @@
CONFIGURE_ENV+= ac_cv_func_fopen64=no
.endif
-.if ${OPSYS} == "NetBSD"
-CFLAGS+= -fPIC
-.endif
+# On Linux-*-x86_64, there was an error message:
+# gp_unix.o: relocation R_X86_64_32 against `a local symbol' can not be
+# used when making a shared object; recompile with -fPIC
+CFLAGS.NetBSD= -fPIC
+CFLAGS.Linux= -fPIC
###.if ${OPSYS} == "Darwin"
###MAKEFLAGS= "LDFLAGS_SO=-dynamiclib"
Home |
Main Index |
Thread Index |
Old Index