summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BSDmakefile4
-rw-r--r--GNUmakefile4
-rw-r--r--Makefile4
-rw-r--r--mk/build.mk4
4 files changed, 0 insertions, 16 deletions
diff --git a/BSDmakefile b/BSDmakefile
index c1a9c08e7..d7f7992aa 100644
--- a/BSDmakefile
+++ b/BSDmakefile
@@ -18,10 +18,6 @@ _subdir:= ${.TARGETS}
${.TARGETS}: _subdir
_subdir: ${_subdir_dep}
- @if test x"$$(umask 2>/dev/null | sed 's/00*22/OK/')" != x"OK"; then \
- echo >&2 Error: you must build with “umask 022”, sorry.; \
- exit 1; \
- fi
cd ${.CURDIR}/${subdir} && ADK_TOPDIR=${.CURDIR} DEVELOPER=1 \
${GMAKE} VERBOSE=1 ${.MFLAGS} ${_subdir}
diff --git a/GNUmakefile b/GNUmakefile
index ab512a2af..698c0ea68 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -15,10 +15,6 @@ ifneq (${subdir},)
${MAKECMDGOALS}: _subdir
_subdir: ${_subdir_dep}
- @if test x"$$(umask 2>/dev/null | sed 's/00*22/OK/')" != x"OK"; then \
- echo >&2 Error: you must build with “umask 022”, sorry.; \
- exit 1; \
- fi
cd ${subdir} && ADK_TOPDIR=${ADK_TOPDIR} DEVELOPER=1 \
make VERBOSE=1 ${MAKEFLAGS} ${MAKECMDGOALS}
diff --git a/Makefile b/Makefile
index f0dc67194..ce17b67f5 100644
--- a/Makefile
+++ b/Makefile
@@ -179,10 +179,6 @@ NO_ERROR=0
echo "GNU bash needs to be installed."; \
exit 1; \
fi
- @if test x"$$(umask 2>/dev/null | sed 's/00*22/OK/')" != x"OK"; then \
- echo >&2 Error: you must build with umask 022, sorry.; \
- exit 1; \
- fi
@echo "ADK_TOPDIR:=$$(readlink -nf . 2>/dev/null || pwd -P)" >prereq.mk
@echo "BASH:=$$(which bash)" >>prereq.mk
@if [ -z "$$(which gmake 2>/dev/null )" ]; then \
diff --git a/mk/build.mk b/mk/build.mk
index 46f3bc98d..4e12c76c4 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -4,10 +4,6 @@
ADK_TOPDIR=$(shell pwd)
export ADK_TOPDIR
-ifneq ($(shell umask 2>/dev/null | sed 's/0*022/OK/'),OK)
-$(error your umask is not 022)
-endif
-
CONFIG_CONFIG_IN = Config.in
CONFIG = adk/config
DEFCONFIG= ADK_DEBUG=n \