pkgsrc/lang/pgcc/patches/patch-an
wiz 36b7c5af00 Pull over gcc package files from before the 2.95.3 update.
Compiles and installs/deinstalls cleanly on 1.5ZA/i386, otherwise untested,
but that's better than a BROKEN package.
Some cleanup.
2002-03-14 14:54:48 +00:00

11 lines
377 B
Text

$NetBSD: patch-an,v 1.1 2002/03/14 14:54:53 wiz Exp $
--- ../gcc-2.95.2/gcc/config/xm-target64.h.orig Sat Sep 16 00:17:42 2000
+++ ../gcc-2.95.2/gcc/config/xm-target64.h Sat Sep 16 00:17:42 2000
@@ -0,0 +1,6 @@
+/* Hack to extend HOST_WIDE_INT on 64-bit target cross compilers. */
+
+#ifdef __GNUC__
+#define HOST_WIDE_INT long long
+#define HOST_BITS_PER_WIDE_INT 64
+#endif