summaryrefslogtreecommitdiff
path: root/lang/gcc8/patches/patch-gcc_configure
blob: e244fc74e896909643adaf919c7db310ce273a58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-gcc_configure,v 1.2 2019/04/18 19:18:02 rillig Exp $

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90143

--- gcc/configure.orig	2015-09-30 23:06:11.000000000 +0000
+++ gcc/configure
@@ -28321,7 +28321,7 @@ case "$target" in
       gcc_cv_target_dl_iterate_phdr=no
     fi
     ;;
-  *-*-dragonfly* | *-*-freebsd*)
+  *-*-dragonfly* | *-*-freebsd* | *-*-netbsd* )
     if grep dl_iterate_phdr $target_header_dir/sys/link_elf.h > /dev/null 2>&1; then
       gcc_cv_target_dl_iterate_phdr=yes
     else