pkgsrc/lang/g95/patches/patch-gcc_config_rs600_netbsd.h
maya d9d8a26f2d g95: don't try to link against a non-existent file on netbsd/powerpc.
untested but obvious change. currently showing up as a build failure of
math/blas as it attempts to link with crtsavres which is a linux file.

Bump PKGREVISION as the build succeeds.
2017-06-21 01:12:56 +00:00

16 lines
528 B
C

$NetBSD: patch-gcc_config_rs600_netbsd.h,v 1.1 2017/06/21 01:12:56 maya Exp $
Don't try to link against a non-existent file on netbsd/powerpc
--- ../gcc-4.1.2/gcc/config/rs6000/netbsd.h.orig 2005-06-25 01:22:41.000000000 +0000
+++ ../gcc-4.1.2/gcc/config/rs6000/netbsd.h
@@ -76,8 +76,7 @@
#define STARTFILE_SPEC NETBSD_STARTFILE_SPEC
#undef ENDFILE_SPEC
-#define ENDFILE_SPEC \
- "crtsavres%O%s %(netbsd_endfile_spec)"
+#define ENDFILE_SPEC "%(netbsd_endfile_spec)"
#undef LIB_SPEC
#define LIB_SPEC NETBSD_LIB_SPEC