diff options
-rw-r--r-- | make/template/main.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/make/template/main.mk b/make/template/main.mk index 3dce24de4..88514029b 100644 --- a/make/template/main.mk +++ b/make/template/main.mk @@ -100,7 +100,7 @@ all: $(FOOTER) target: $(HEADER) $(MAKEENV) perl make/calcdep.pl - @if [ `id -u` = 0 ]; then echo "Don't compile or install as root!"; exit 1; fi + @if [ `id -u` = 0 ] && [ ! -e .force-root-ok ]; then echo "Don't compile or install as root!"; exit 1; fi cd $(BUILDPATH); $(MAKEENV) $(MAKE) -f real.mk $(TARGET) debug: |