summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWesley Wiser <wesleywiser@microsoft.com>2021-10-21 16:09:30 +0000
committerRich Felker <dalias@aerifal.cx>2022-01-07 13:30:46 -0500
commitc4d4028dde90562f631edf559fbc42d8ec1b29de (patch)
tree06c0c5f05e1c3f9c4e2c475c334ebe357b27b3e2
parent775bde6b5c04ecc689ecbb4a25ceaf2ed6ab60c8 (diff)
downloadmusl-master.tar.gz
fix failure to use add-cfi scripts on asm when building out-of-treeHEADmaster
use $srcdir in configure test for add-cfi script.
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index e1aefed7..ca5cbc0b 100755
--- a/configure
+++ b/configure
@@ -409,7 +409,7 @@ test "$debug" = yes && CFLAGS_AUTO=-g
#
printf "checking whether we should preprocess assembly to add debugging information... "
if fnmatch '-g*|*\ -g*' "$CFLAGS_AUTO $CFLAGS" &&
- test -f "tools/add-cfi.$ARCH.awk" &&
+ test -f "$srcdir/tools/add-cfi.$ARCH.awk" &&
printf ".file 1 \"srcfile.s\"\n.line 1\n.cfi_startproc\n.cfi_endproc" | $CC -g -x assembler -c -o /dev/null 2>/dev/null -
then
ADD_CFI=yes