]> Zhao Yanbai Git Server - minix.git/commitdiff
CC=.. mkdep fix
authorBen Gras <ben@minix3.org>
Thu, 31 Jul 2014 13:53:30 +0000 (13:53 +0000)
committerLionel Sambuc <lionel@minix3.org>
Thu, 31 Jul 2014 14:36:17 +0000 (16:36 +0200)
Change-Id: If9dd0d0ca3c272c31896dfc423b7320edc89861e

share/mk/bsd.dep.mk
share/mk/bsd.sys.mk

index e13ecaa3070241e3d1c9cf0a7c349850220cb9a9..bff90b066aca7a72ce91e674c435aa71b2a977b8 100644 (file)
@@ -7,8 +7,8 @@ realdepend:     beforedepend .depend afterdepend
 beforedepend .depend afterdepend: # ensure existence
 
 ##### Default values
-MKDEP?=                        mkdep
-MKDEPCXX?=             mkdep
+MKDEP?=                        CC=${CC:Q} mkdep
+MKDEPCXX?=             CC=${CXX:Q} mkdep
 MKDEP_SUFFIXES?=       .o
 
 ##### Build rules
index 59b77e9be1076ef2e9005dec3d9315e9331d9982..7c18cb12cedf09de5890887495c6a6f1f61e07ea 100644 (file)
@@ -185,8 +185,8 @@ HOST_LN?=   ln
 HOST_SH?=      /bin/sh
 
 ELF2ECOFF?=    elf2ecoff
-MKDEP?=                mkdep
-MKDEPCXX?=     mkdep
+MKDEP?=                CC=${CC:Q} mkdep
+MKDEPCXX?=     CC=${CXX:Q} mkdep
 OBJCOPY?=      objcopy
 OBJDUMP?=      objdump
 PAXCTL?=       paxctl