Unset CC for apps-install makes
[akaros.git] / Makefile
index 5801394..424657b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -72,6 +72,7 @@ endef
 define make_as_parent
        $(clear_current_env)\
        $(export_parent_env)\
+       unset CC; \
        $(call export_user_variables)\
        $(MAKE) $(NO_PRINT_DIRECTORY) -j $(MAKE_JOBS) $(1)
 endef