From 0f13894a2f9b5fa258d40a3575aaf5dcdf41256b Mon Sep 17 00:00:00 2001 From: Svyatoslav Mishyn Date: Mon, 9 May 2016 12:32:20 +0300 Subject: [PATCH] fix configure script * "+=" is not working in shell * fix a typo (OS_FLAGS => OS_CFLAGS) --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 5f896c4..0e3fd39 100755 --- a/configure +++ b/configure @@ -91,11 +91,11 @@ if [ -z "$OS" ]; then KERNEL=${REST%%-*} fi -OS_FLAGS="-D__${OS}__" +OS_CFLAGS="-D__${OS}__" case "$OS" in linux) - OS_CFLAGS+=" -D_DEFAULT_SOURCE -D_GNU_SOURCE -DUID_MAX=60000 -DGID_MAX=60000" + OS_CFLAGS="$OS_CFLAGS -D_DEFAULT_SOURCE -D_GNU_SOURCE -DUID_MAX=60000 -DGID_MAX=60000" printf 'CURDIR := .\n' >>$CONFIG_MK printf 'PAM_DOAS = pam.d__doas__linux\n' >>$CONFIG_MK ;; -- 2.39.2