python/hypothesis: update to 6.122.3
[oi-userland.git] / components / developer / gcc-12 / patches / 0020-Use-compare-debug-to-pass-stage2-stage3-comparison-a.patch
blob681d622bfbeded707fdb98d696ece4f1fd674977
1 diff --git a/configure b/configure
2 index 5dcaab1..6dad150 100755
3 --- a/configure
4 +++ b/configure
5 @@ -5761,25 +5761,7 @@ $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
6 if ${gcc_cv_prog_cmp_skip+:} false; then :
7 $as_echo_n "(cached) " >&6
8 else
9 - echo abfoo >t1
10 - echo cdfoo >t2
11 - gcc_cv_prog_cmp_skip='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
12 - if cmp t1 t2 2 2 > /dev/null 2>&1; then
13 - if cmp t1 t2 1 1 > /dev/null 2>&1; then
14 - :
15 - else
16 - gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
17 - fi
18 - fi
19 - if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
20 - if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
21 - :
22 - else
23 - gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
24 - fi
25 - fi
26 - rm t1 t2
28 + gcc_cv_prog_cmp_skip='${srcdir}/contrib/compare-debug $$f1 $$f2'
30 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
31 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }