Skip to content
This repository was archived by the owner on May 5, 2020. It is now read-only.

Commit 5dc1e33

Browse files
author
Issam Maghni
committed
script: verbose env
1 parent 65e0256 commit 5dc1e33

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

nginx-zero

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,14 @@ for p in tar gzip make cmake nproc patch
77
do ! command -v $p >/dev/null && echo Command \`$p\` missing && false
88
done
99

10-
_CC=$(readlink -f $(which ${CC:-cc}))
10+
echo ___ENVIRONNEMENT___
11+
env
12+
echo
1113

1214
echo ___COMPILER___
15+
_CC=$(readlink -f $(which ${CC:-cc}))
1316
$_CC --verbose
17+
echo
1418

1519
for std in 17 11 99 89
1620
do echo | $_CC -fsyntax-only -std=c$std -xc - && break
@@ -61,6 +65,7 @@ cd -
6165
echo ___MUSL_COMPILER___
6266
export CC=/opt/bin/musl-$_CC LDFLAGS=-static
6367
$CC --verbose
68+
echo
6469

6570
# JEMALLOC
6671
cd jemalloc-*

0 commit comments

Comments
 (0)