X-Git-Url: https://git.armaanb.net/?p=opendoas.git;a=blobdiff_plain;f=configure;h=1c5d9899bda3981acab60fa5669455991c7008fd;hp=9592a30f2b781d896652a975aecaa34ea7fcf6a7;hb=b3e966b7f3b921a686a7665f4b265b19c79c46f3;hpb=dc56c2fe04e8f658a2481fba007c4422dd1cdc35 diff --git a/configure b/configure index 9592a30..1c5d989 100755 --- a/configure +++ b/configure @@ -153,7 +153,7 @@ BINGRP ?= ${BINGRP} EOF [ -n "$OS_CFLAGS" ] && \ - printf 'CFLAGS += %s\n' "$OS_CFLAGS" >>$CONFIG_MK + printf 'OS_CFLAGS += %s\n' "$OS_CFLAGS" >>$CONFIG_MK [ -n "$DEBUG" ] && \ printf 'CFLAGS += -O0 -g\n' >>$CONFIG_MK @@ -545,7 +545,7 @@ int main(void){return 0;} __attribute__((__unused__)) static void foo(void){return;} ' check_func "__attribute__" "$src" || { - printf 'CFLAGS += -DNO_ATTRIBUTE_ON_RETURN_TYPE=1\n' >>$CONFIG_MK + printf 'OS_CFLAGS += -DNO_ATTRIBUTE_ON_RETURN_TYPE=1\n' >>$CONFIG_MK } auth=$(authmethod)