Skip to content

Commit 5ff286a

Browse files
committed
bpo-41160: Support cross-compiling for GNU/Hurd
Recognise *-gnu (after *-linux*) as GNU/Hurd for cross-compilation.
1 parent e0f7c10 commit 5ff286a

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

configure

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,9 @@ then
342342
*-*-darwin*)
343343
ac_sys_system=Darwin
344344
;;
345+
*-gnu)
346+
ac_sys_system=GNU
347+
;;
345348
*-*-vxworks*)
346349
ac_sys_system=VxWorks
347350
;;
@@ -780,6 +783,9 @@ if test "$cross_compiling" = yes; then
780783
_host_ident=$host_cpu
781784
esac
782785
;;
786+
*-gnu)
787+
_host_ident=$host_cpu
788+
;;
783789
*-*-cygwin*)
784790
_host_ident=
785791
;;

0 commit comments

Comments
 (0)