mcst-linux-kernel/patches-2024.06.26/libreoffice-6.3.0.4/0004-no_check_if_root.diff

27 lines
570 B
Diff

--- old/Makefile.in 2019-11-18 15:58:29.410925910 +0300
+++ new/Makefile.in 2019-11-25 20:19:50.946304221 +0300
@@ -59,14 +59,6 @@
all: build
-check-if-root:
- @if test ! `uname` = 'Haiku' -a `id -u` = 0 && ! grep -q 'lxc\|docker' /proc/self/cgroup; then \
- echo; \
- echo 'Building LibreOffice as root is a very bad idea, use a regular user.'; \
- echo; \
- exit 1; \
- fi
-
gb_Side ?= host
include $(BUILDDIR)/config_$(gb_Side).mk
@@ -268,7 +260,7 @@
#
# Bootstrap
#
-bootstrap: check-if-root compilerplugins
+bootstrap: compilerplugins
#
# Build