pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/converters/wkhtmltopdf
Module Name: pkgsrc
Committed By: he
Date: Tue Sep 8 06:33:47 UTC 2020
Added Files:
pkgsrc/converters/wkhtmltopdf: hacks.mk
Log Message:
On powerpc, build with -mlongcall, to avoid truncated relocations.
Build fix only for this arch, so no revision bump.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/converters/wkhtmltopdf/hacks.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/converters/wkhtmltopdf/hacks.mk
diff -u /dev/null pkgsrc/converters/wkhtmltopdf/hacks.mk:1.1
--- /dev/null Tue Sep 8 06:33:47 2020
+++ pkgsrc/converters/wkhtmltopdf/hacks.mk Tue Sep 8 06:33:47 2020
@@ -0,0 +1,15 @@
+# $NetBSD: hacks.mk,v 1.1 2020/09/08 06:33:47 he Exp $
+
+.if !defined(WKHTMLTOPDF_HACKS_MK)
+WKHTMLTOPDF_HACKS_MK= defined
+
+# [Mon Sep 7 21:12:45 CEST 2020 : he]
+# On NetBSD/powerpc, we get relocation truncated to fit: R_PPC_PLTREL24
+# with default build options.
+.if !empty(MACHINE_ARCH:Mpowerpc*)
+CFLAGS+= -mlongcall
+CXXFLAGS+= -mlongcall
+PKG_HACKS+= powerpc-longcall
+.endif
+
+.endif # WKHTMLTOPDF_HACKS_MK
Home |
Main Index |
Thread Index |
Old Index