Skip to content

Commit 275e209

Browse files
Blackhexgithub-actions
authored andcommitted
Fix build on x86_64-pc-linux-gnu when host is aarch64-w64-mingw32 (gcc-mirror#6)
1 parent 84bbe00 commit 275e209

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

gcc/config.host

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@ case ${host} in
127127
i[34567]86-*-* \
128128
| x86_64-*-* )
129129
case ${target} in
130+
aarch64*-*-*)
131+
host_extra_gcc_objs="driver-aarch64.o"
132+
host_xmake_file="${host_xmake_file} aarch64/x-aarch64"
133+
;;
130134
i[34567]86-*-* \
131135
| x86_64-*-* )
132136
host_extra_gcc_objs="driver-i386.o"

0 commit comments

Comments
 (0)