summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-06-23 14:34:15 +0200
committerMichael Stahl <mstahl@redhat.com>2016-06-23 14:36:59 +0200
commit496cba2e8b3fdf72812d67602306d1d4700a8d60 (patch)
tree2804c66804096292d68662fb0d39d910f4f0f1e0 /Makefile.in
parent8d861bd7028a6ac3cf21ca9758d1f72eef2ac05c (diff)
Makefile: move check-if-root earlier
Somebody who might invoke make as root might also invoke make with -j, so don't start building in that case. Change-Id: I0c87aba948cd78a23ad4c49f880700f65684424c
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index 23ccc953b8cc..6997756ce12f 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -50,7 +50,7 @@ $(BUILDDIR)/config_host.mk : $(wildcard \
else # MAKE_RESTARTS
-all: check-if-root build
+all: build
check-if-root:
@if test `id -u` = 0; then \
@@ -240,9 +240,9 @@ fetch:
endif
#
-# Bootstap
+# Bootstrap
#
-bootstrap: compilerplugins
+bootstrap: check-if-root compilerplugins
#
# Build