X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=configure;h=0e3fd39cf99f3956bd1323032aace2645aba1a12;hb=0f13894a2f9b5fa258d40a3575aaf5dcdf41256b;hp=5f896c478aa58a7642a3ca7f2283f09a317c33c4;hpb=82fa79900dba3618d9b13c14cecb74ed2c6428b7;p=opendoas.git 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 ;;