pkgsrc-ng/lang/gcc45/patches/patch-config_mh-x86-darwin
Lionel Sambuc 612ad0a18c lang/gcc45
2016-01-22 00:09:29 +01:00

8 lines
257 B
Plaintext

$NetBSD$
--- config/mh-x86-darwin.orig Wed May 21 19:48:53 2014
+++ config/mh-x86-darwin
@@ -0,0 +1,2 @@
+# Ensure we don't try and use -pie, as it is incompatible with pch.
+BOOT_LDFLAGS += `case ${host} in *-*-darwin[1][1-9]*) echo -Wl,-no_pie ;; esac;`