From 7c3eada02a3a22ff109ef0631e75586308ab2587 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 4 Dec 2017 13:24:37 +0200 Subject: Recognize empty cc.pattern --- build2/cc/module.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/cc/module.cxx') diff --git a/build2/cc/module.cxx b/build2/cc/module.cxx index d806583..196c2ce 100644 --- a/build2/cc/module.cxx +++ b/build2/cc/module.cxx @@ -88,7 +88,7 @@ namespace build2 path d (cc_loaded ? guess_default (x_lang, cast (rs["cc.id"]), - cast_null (rs["cc.pattern"])) + cast (rs["cc.pattern"])) : path (x_default)); // If this value was hinted, save it as commented out so that if the -- cgit v1.1