Skip to content
Snippets Groups Projects
Unverified Commit 06ac8d4f authored by Nicolas Tsiftes's avatar Nicolas Tsiftes Committed by GitHub
Browse files

Merge pull request #1775 from pjonsson/detect-compiler

Stop with error when $(CC) is missing
parents 36c804b6 74464ec5
No related branches found
No related tags found
No related merge requests found
......@@ -104,6 +104,9 @@ else
${error More than one TARGET Makefile found: $(target_makefile)}
endif
include $(target_makefile)
ifeq (, $(shell which $(CC)))
$(error Target "$(TARGET)" compiler "$(CC)" cannot be found)
endif
endif
# Decide whether to build or to skip this target for this platform
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment