musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure 8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index 9b06d2b4..c1bcac7c 100755
--- a/configure
+++ b/configure
@@ -58,7 +58,7 @@ else eval "fnmatch '*/' \"\${1ドル}\"" && eval "1ドル=\${1ドル%/}" ; fi
tryflag () {
printf "checking whether compiler accepts %s... " "2ドル"
echo "typedef int x;" > "$tmpc"
-if "$CC" "2ドル" -c -o /dev/null "$tmpc" 2>/dev/null ; then
+if $CC "2ドル" -c -o /dev/null "$tmpc" 2>/dev/null ; then
printf "yes\n"
eval "1ドル=\"\${1ドル} \2ドル\""
eval "1ドル=\${1ドル# }"
@@ -72,7 +72,7 @@ fi
tryldflag () {
printf "checking whether linker accepts %s... " "2ドル"
echo "typedef int x;" > "$tmpc"
-if "$CC" -nostdlib -shared "2ドル" -o /dev/null "$tmpc" 2>/dev/null ; then
+if $CC -nostdlib -shared "2ドル" -o /dev/null "$tmpc" 2>/dev/null ; then
printf "yes\n"
eval "1ドル=\"\${1ドル} \2ドル\""
eval "1ドル=\${1ドル# }"
@@ -170,7 +170,7 @@ test -n "$CC" || { echo "0ドル: cannot find a C compiler" ; exit 1 ; }
#
if test -z "$wrapper" ; then
printf "checking whether compiler is gcc... "
-if fnmatch '*gcc\ version*' "$("$CC" -v 2>&1)" ; then
+if fnmatch '*gcc\ version*' "$($CC -v 2>&1)" ; then
echo yes
printf "checking whether to build musl-gcc wrapper... "
wrapper=yes
@@ -191,7 +191,7 @@ fi
# Find the target architecture
#
printf "checking target system type... "
-test -n "$target" || target=$("$CC" -dumpmachine 2>/dev/null) || target=unknown
+test -n "$target" || target=$($CC -dumpmachine 2>/dev/null) || target=unknown
printf "%s\n" "$target"
#
generated by cgit v1.2.1 (git 2.18.0) at 2025年10月04日 14:34:36 +0000

AltStyle によって変換されたページ (->オリジナル) /