From 2ec920c0c3a9428204dfc2e03cbd637f4c9d9c0f Mon Sep 17 00:00:00 2001 From: midipix Date: May 26 2021 16:48:06 +0000 Subject: build system: binary format detection: send errors to config.log. --- diff --git a/sofort/ccenv/ccenv.sh b/sofort/ccenv/ccenv.sh index de7926e..857a202 100644 --- a/sofort/ccenv/ccenv.sh +++ b/sofort/ccenv/ccenv.sh @@ -764,7 +764,7 @@ ccenv_create_framework_executable() printf 'int main(void){return 0;}' \ | $ccenv_cc -xc - \ -o $ccenv_image \ - 2>/dev/null \ + 2>&3 \ || return 1 return 0 @@ -788,6 +788,7 @@ ccenv_create_freestanding_executable() -ffreestanding \ -nostdlib -nostartfiles \ -o $ccenv_image \ + 2>&3 \ || return 1 ccenv_freestd=yes