]> Zhao Yanbai Git Server - minix.git/commitdiff
sys.mk: Check that MKEMBED is defined
authorArun Thomas <arun@minix3.org>
Tue, 26 Jul 2011 09:26:26 +0000 (11:26 +0200)
committerArun Thomas <arun@minix3.org>
Tue, 26 Jul 2011 09:26:26 +0000 (11:26 +0200)
share/mk/sys.mk

index 147abb19c0e9b98e83a8c7a08480edd95ad02a36..e0aa8e7c4700df5e535d9509e9ce9130b429e86a 100644 (file)
@@ -237,7 +237,7 @@ AR?=        aal
 COMPILER_TYPE=gnu
 AR?=   ar
 
-.if ${MKEMBED} == "yes"
+.if defined(MKEMBED) && ${MKEMBED} == "yes"
 DBG=   -Os
 CFLAGS+= -DNDEBUG=1
 .endif