chore: fix error functions in Makefile (#970)

`$(error ...)` (and `$(warning ...)`) functions in a Makefile can't be indented - if they are make displays a `*** commands commence before first target. Stop.` error.
This commit is contained in:
Andrew Scheller 2016-12-11 22:45:26 +00:00 committed by Juan Cruz Viotti
parent db379bd341
commit c4a92d772d

View File

@ -66,16 +66,16 @@ else
endif
ifndef HOST_PLATFORM
$(error We couldn\'t detect your host platform)
$(error We couldn\'t detect your host platform)
endif
ifndef HOST_ARCH
$(error We couldn\'t detect your host architecture)
$(error We couldn\'t detect your host architecture)
endif
TARGET_PLATFORM = $(HOST_PLATFORM)
ifneq ($(TARGET_PLATFORM),$(HOST_PLATFORM))
$(error We don\'t support cross-platform builds yet)
$(error We don\'t support cross-platform builds yet)
endif
# Default to host architecture. You can override by doing: