Welcome! Log In Create A New Profile

Advanced

[njs] Fix compiler detection when CC has a wrapper.

Dmitry Volyntsev
March 23, 2023 01:44AM
details: https://hg.nginx.org/njs/rev/ec007866a53b
branches:
changeset: 2076:ec007866a53b
user: Orgad Shaneh <orgad.shaneh@audiocodes.com>
date: Wed Mar 22 15:22:37 2023 +0200
description:
Fix compiler detection when CC has a wrapper.

For example CC='ccache gcc'.

diffstat:

auto/cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 8e6a2cb0c23d -r ec007866a53b auto/cc
--- a/auto/cc Wed Mar 22 09:36:58 2023 -0700
+++ b/auto/cc Wed Mar 22 15:22:37 2023 +0200
@@ -13,7 +13,7 @@ END
# Allow error exit status.
set +e

-if [ -z `which $CC` ]; then
+if [ -z "$(which $CC)" ]; then
echo
echo $0: error: $CC not found.
echo
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Fix compiler detection when CC has a wrapper.

Dmitry Volyntsev 437 March 23, 2023 01:44AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 68
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready