diff options
author | midipix <writeonce@midipix.org> | 2021-05-26 15:49:57 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-05-26 16:48:15 +0000 |
commit | 148d969985d58f85020d511b0d55dcc3d2225975 (patch) | |
tree | 3992661ba4b30c25be2acd1a494c8b79d64a0ed1 /sofort/ccenv/ccenv.sh | |
parent | 001ed78f2797095a9a7fe86fb969658ea32fb108 (diff) | |
download | tpax-148d969985d58f85020d511b0d55dcc3d2225975.tar.bz2 tpax-148d969985d58f85020d511b0d55dcc3d2225975.tar.xz |
build system: binary format detection: send errors to config.log.
Diffstat (limited to 'sofort/ccenv/ccenv.sh')
-rw-r--r-- | sofort/ccenv/ccenv.sh | 3 |
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 |