summaryrefslogtreecommitdiff
path: root/sofort/ccenv
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-05-26 15:49:57 +0000
committermidipix <writeonce@midipix.org>2021-05-26 15:53:28 +0000
commite81ba4366aa45f1214df721eb7e6cd11c375a097 (patch)
treef2cd53d8b4dd73e4b633380797b040e8b36066c9 /sofort/ccenv
parent28278492a008eb992a6c5c5511f15541a7d7bbcb (diff)
downloadslibtool-e81ba4366aa45f1214df721eb7e6cd11c375a097.tar.bz2
slibtool-e81ba4366aa45f1214df721eb7e6cd11c375a097.tar.xz
build system: binary format detection: send errors to config.log.
Diffstat (limited to 'sofort/ccenv')
-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