summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile5
-rw-r--r--payloads/libpayload/Makefile5
2 files changed, 0 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 11222d65c50e..b709d14a9dbc 100644
--- a/Makefile
+++ b/Makefile
@@ -138,11 +138,6 @@ AR := $(AR_$(ARCH-y))
CFLAGS += $(CFLAGS_$(ARCH-y))
-ifeq ($(CC),)
-$(shell rm .xcompile)
-$(error no suitable GCC for $(ARCH-y))
-endif
-
LIBGCC_FILE_NAME := $(shell test -r `$(CC) -print-libgcc-file-name` && \
$(CC) -print-libgcc-file-name)
diff --git a/payloads/libpayload/Makefile b/payloads/libpayload/Makefile
index 7a29be3956ae..a1e8dc751053 100644
--- a/payloads/libpayload/Makefile
+++ b/payloads/libpayload/Makefile
@@ -113,11 +113,6 @@ AR := $(AR_$(ARCH-y))
CFLAGS += $(CFLAGS_$(ARCH-y))
-ifeq ($(CC),)
-$(shell rm .xcompile)
-$(error no suitable GCC for $(ARCH-y))
-endif
-
LIBGCC_FILE_NAME := $(shell test -r `$(CC) -print-libgcc-file-name` && \
$(CC) -print-libgcc-file-name)