Permalink
Browse files

MFC r257329 (nyan):

 Fix build, both clang and gcc are required on pc98.

Approved by:	re (kib)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information...
1 parent bc89db0 commit d1f5c9bfc2856b6b40e631c5e1281faae9c9633c gjb committed Nov 1, 2013
Showing with 6 additions and 1 deletion.
  1. +6 −1 Makefile.inc1
View
@@ -1381,12 +1381,17 @@ _binutils= gnu/usr.bin/binutils
# If an full path to an external cross compiler is given, don't build
# a cross compiler.
.if ${XCC:M/*} == "" && ${MK_CROSS_COMPILER} != "no"
-.if (${MK_CLANG_IS_CC} != "no" || ${CC:T:Mclang} == "clang") && ${TARGET} != "pc98"
+.if ${MK_CLANG_IS_CC} != "no" || ${CC:T:Mclang} == "clang"
_clang= usr.bin/clang
_clang_libs= lib/clang
.else
_cc= gnu/usr.bin/cc
.endif
+
+# The boot2 for pc98 requires gcc.
+.if ${TARGET} == "pc98"
+_cc= gnu/usr.bin/cc
+.endif
.endif
cross-tools: .MAKE

0 comments on commit d1f5c9b

Please sign in to comment.