Allow this to build with compilers other than cc/gcc.

This commit is contained in:
naddy 2002-07-21 00:03:52 +00:00
parent 967d8d70ce
commit d85734fcdd

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-RULES_rules_cnf,v 1.1 2002/07/21 00:03:52 naddy Exp $
--- RULES/rules.cnf.orig Sun Jul 21 01:50:27 2002
+++ RULES/rules.cnf Sun Jul 21 01:51:20 2002
@@ -33,8 +33,9 @@ $(OINCSDIR):
#
# Hack until the <mach>-<os>-*cc.rul files are updated
#
-_HCCCOM= $(OARCH:%-gcc=gcc)
-HCCCOM= $(_HCCCOM:%-cc=cc)
+#_HCCCOM= $(OARCH:%-gcc=gcc)
+#HCCCOM= $(_HCCCOM:%-cc=cc)
+HCCCOM= $(C_ARCH)
_CCCOM= $(_UNIQ)$(CCCOM)
__CCCOM= $(_CCCOM:$(_UNIQ)=$(HCCCOM))