]> git.lizzy.rs Git - rust.git/blob - src/ci/docker/scripts/musl-patch-configure.diff
Rollup merge of #94247 - saethlin:chunksmut-aliasing, r=the8472
[rust.git] / src / ci / docker / scripts / musl-patch-configure.diff
1 diff --git a/configure b/configure
2 index 86801281..ed2f7998 100755
3 --- a/configure
4 +++ b/configure
5 @@ -398,7 +398,7 @@ test "$debug" = yes && CFLAGS_AUTO=-g
6  #
7  printf "checking whether we should preprocess assembly to add debugging information... "
8  if fnmatch '-g*|*\ -g*' "$CFLAGS_AUTO $CFLAGS" &&
9 -   test -f "tools/add-cfi.$ARCH.awk" &&
10 +   test -f "$srcdir/tools/add-cfi.$ARCH.awk" &&
11     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 -
12  then
13    ADD_CFI=yes