summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-05-26 15:49:57 +0000
committermidipix <writeonce@midipix.org>2021-05-26 16:48:16 +0000
commit4b8c3966e65efa0412e7ca418344e34889a23bf2 (patch)
treefa1a3002002907265ac8ccb3c4b3cf4f082bdd2c
parentaafe61dca47683c7b84305c8bc53d858dfdf45eb (diff)
downloadw32lib-4b8c3966e65efa0412e7ca418344e34889a23bf2.tar.bz2
w32lib-4b8c3966e65efa0412e7ca418344e34889a23bf2.tar.xz
build system: binary format detection: send errors to config.log.
-rw-r--r--sofort/ccenv/ccenv.sh3
1 files changed, 2 insertions, 1 deletions
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