From 353c21a9ef173c08283e805abe6450dd4bbd37fd Mon Sep 17 00:00:00 2001 From: James Duley Date: Mon, 9 May 2016 22:13:55 +0100 Subject: [PATCH] Remove root check from Makefile --- Makefile | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Makefile b/Makefile index dde9d8cb3..84a1e993a 100644 --- a/Makefile +++ b/Makefile @@ -106,15 +106,6 @@ $(foreach var, $(SANITIZE_GCC_VARS), $(eval $(call SANITIZE_VAR,$(var),disallowe SANITIZE_DEPRECATED_VARS := USE_BOOTLOADER CLEAN_BUILD $(foreach var, $(SANITIZE_DEPRECATED_VARS), $(eval $(call SANITIZE_VAR,$(var),deprecated))) -# Make sure this isn't being run as root unless installing (no whoami on Windows, but that is ok here) -ifeq ($(shell whoami 2>/dev/null),root) - ifeq ($(filter install uninstall,$(MAKECMDGOALS)),) - ifndef FAKEROOTKEY - $(error You should not be running this as root) - endif - endif -endif - # Decide on a verbosity level based on the V= parameter export AT := @ ifndef V