$OpenBSD: patch-bin_9l,v 1.3 2021/01/30 12:51:34 jsg Exp $
Index: bin/9l
--- bin/9l.orig
+++ bin/9l
@@ -12,7 +12,7 @@ extralibs="-lm"
 tag="${SYSNAME:-`uname`}"
 case "$tag" in
 *DragonFly*|*BSD*)
-	ld="${CC9:-gcc} $CC9FLAGS"
+	ld="${CC9:-${CC}} $CC9FLAGS"
 	userpath=true
 	extralibs="$extralibs -lutil"
 	;;
