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

            Bug ID: 90143
           Summary: Add NetBSD in configure.ac
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: roland.illig at gmx dot de
  Target Milestone: ---

From
https://github.com/NetBSD/pkgsrc/blob/342fd468170/lang/gcc8/patches/patch-gcc_configure:

--- 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

Reply via email to