cgmnlm

Unnamed repository; edit this file 'description' to name the repository.
git clone git://code.clttr.info/cgmnlm.git
Log | Files | Refs | README | LICENSE

commit 1cfe0e794936cc51b9306327634a35f1c443643f
parent dde8799e758b1e6c3985492a8205c189d4d47b9c
Author: Giuseppe Lumia <g.lumia@outlook.com>
Date:   Mon, 18 Jan 2021 21:26:48 +0100

Fix incorrectly missing -g flag

On systems using dsymutil the check for the "-g" flag was failing not
because the compiler didn't provide it but because of `/dev/null`
being used as output file.

Diffstat:
Mconfig.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config.sh b/config.sh @@ -73,7 +73,7 @@ test_cflags() { werror="-Werror" ;; esac - if $CC $werror "$@" -o /dev/null "$outdir"/check.c >/dev/null 2>&1 + if $CC $werror "$@" -o "$outdir"/check "$outdir"/check.c >/dev/null 2>&1 then append_cflags "$@" else