Accepting request 957237 from home:marxin:branches:devel:gcc
- Do not re-generate ld/ldlex.c, ld/ldgram.c, ld/ldgram.h and verify that corresponding flex/bison files are not modified by a patch. OBS-URL: https://build.opensuse.org/request/show/957237 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=391
This commit is contained in:
parent
845bec2bea
commit
2f26a20813
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 09:10:44 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Do not re-generate ld/ldlex.c, ld/ldgram.c, ld/ldgram.h and verify
|
||||
that corresponding flex/bison files are not modified by a patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 06:55:14 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -189,6 +189,11 @@ The Compact C Type Format (CTF) is a way of representing information about a bin
|
||||
%prep
|
||||
echo "make check will return with %{make_check_handling} in case of testsuite failures."
|
||||
%setup -q -n binutils-%{version}
|
||||
|
||||
# Backup flex and biscon files for later verification.
|
||||
cp ld/ldlex.l ld/ldlex.l.orig
|
||||
cp ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
# Patch is outside test_vanilla because it's supposed to be the
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
@ -226,14 +231,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
#
|
||||
# test_vanilla
|
||||
%endif
|
||||
# in parallel builds, when the flex or bison inputs are patched (possibly
|
||||
# in the ...-branch.diff) it might happen that the dependency tracking
|
||||
# of automake is confused and uses the old .c files from srcdir/ld/ while
|
||||
# also generating the new .c files in builddir/ld leading to trouble.
|
||||
# I haven't found the right entries to ensure this doesn't happen, so
|
||||
# simply remove the intermediates
|
||||
rm -f ld/ldlex.c
|
||||
rm -f ld/ldgram.c ld/ldgram.h
|
||||
|
||||
# Due to legacy flex version present in SLE-12 (and older), we cannot
|
||||
# re-generate flex and bison files and so we verify that any patch modify these files.
|
||||
diff -u ld/ldlex.l ld/ldlex.l.orig
|
||||
diff -u ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 09:10:44 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Do not re-generate ld/ldlex.c, ld/ldgram.c, ld/ldgram.h and verify
|
||||
that corresponding flex/bison files are not modified by a patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 06:55:14 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -192,6 +192,11 @@ The Compact C Type Format (CTF) is a way of representing information about a bin
|
||||
%prep
|
||||
echo "make check will return with %{make_check_handling} in case of testsuite failures."
|
||||
%setup -q -n binutils-%{version}
|
||||
|
||||
# Backup flex and biscon files for later verification.
|
||||
cp ld/ldlex.l ld/ldlex.l.orig
|
||||
cp ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
# Patch is outside test_vanilla because it's supposed to be the
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
@ -229,14 +234,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
#
|
||||
# test_vanilla
|
||||
%endif
|
||||
# in parallel builds, when the flex or bison inputs are patched (possibly
|
||||
# in the ...-branch.diff) it might happen that the dependency tracking
|
||||
# of automake is confused and uses the old .c files from srcdir/ld/ while
|
||||
# also generating the new .c files in builddir/ld leading to trouble.
|
||||
# I haven't found the right entries to ensure this doesn't happen, so
|
||||
# simply remove the intermediates
|
||||
rm -f ld/ldlex.c
|
||||
rm -f ld/ldgram.c ld/ldgram.h
|
||||
|
||||
# Due to legacy flex version present in SLE-12 (and older), we cannot
|
||||
# re-generate flex and bison files and so we verify that any patch modify these files.
|
||||
diff -u ld/ldlex.l ld/ldlex.l.orig
|
||||
diff -u ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 09:10:44 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Do not re-generate ld/ldlex.c, ld/ldgram.c, ld/ldgram.h and verify
|
||||
that corresponding flex/bison files are not modified by a patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 06:55:14 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -192,6 +192,11 @@ The Compact C Type Format (CTF) is a way of representing information about a bin
|
||||
%prep
|
||||
echo "make check will return with %{make_check_handling} in case of testsuite failures."
|
||||
%setup -q -n binutils-%{version}
|
||||
|
||||
# Backup flex and biscon files for later verification.
|
||||
cp ld/ldlex.l ld/ldlex.l.orig
|
||||
cp ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
# Patch is outside test_vanilla because it's supposed to be the
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
@ -229,14 +234,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
#
|
||||
# test_vanilla
|
||||
%endif
|
||||
# in parallel builds, when the flex or bison inputs are patched (possibly
|
||||
# in the ...-branch.diff) it might happen that the dependency tracking
|
||||
# of automake is confused and uses the old .c files from srcdir/ld/ while
|
||||
# also generating the new .c files in builddir/ld leading to trouble.
|
||||
# I haven't found the right entries to ensure this doesn't happen, so
|
||||
# simply remove the intermediates
|
||||
rm -f ld/ldlex.c
|
||||
rm -f ld/ldgram.c ld/ldgram.h
|
||||
|
||||
# Due to legacy flex version present in SLE-12 (and older), we cannot
|
||||
# re-generate flex and bison files and so we verify that any patch modify these files.
|
||||
diff -u ld/ldlex.l ld/ldlex.l.orig
|
||||
diff -u ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 09:10:44 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Do not re-generate ld/ldlex.c, ld/ldgram.c, ld/ldgram.h and verify
|
||||
that corresponding flex/bison files are not modified by a patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 06:55:14 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -192,6 +192,11 @@ The Compact C Type Format (CTF) is a way of representing information about a bin
|
||||
%prep
|
||||
echo "make check will return with %{make_check_handling} in case of testsuite failures."
|
||||
%setup -q -n binutils-%{version}
|
||||
|
||||
# Backup flex and biscon files for later verification.
|
||||
cp ld/ldlex.l ld/ldlex.l.orig
|
||||
cp ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
# Patch is outside test_vanilla because it's supposed to be the
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
@ -229,14 +234,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
#
|
||||
# test_vanilla
|
||||
%endif
|
||||
# in parallel builds, when the flex or bison inputs are patched (possibly
|
||||
# in the ...-branch.diff) it might happen that the dependency tracking
|
||||
# of automake is confused and uses the old .c files from srcdir/ld/ while
|
||||
# also generating the new .c files in builddir/ld leading to trouble.
|
||||
# I haven't found the right entries to ensure this doesn't happen, so
|
||||
# simply remove the intermediates
|
||||
rm -f ld/ldlex.c
|
||||
rm -f ld/ldgram.c ld/ldgram.h
|
||||
|
||||
# Due to legacy flex version present in SLE-12 (and older), we cannot
|
||||
# re-generate flex and bison files and so we verify that any patch modify these files.
|
||||
diff -u ld/ldlex.l ld/ldlex.l.orig
|
||||
diff -u ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 09:10:44 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Do not re-generate ld/ldlex.c, ld/ldgram.c, ld/ldgram.h and verify
|
||||
that corresponding flex/bison files are not modified by a patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 06:55:14 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -192,6 +192,11 @@ The Compact C Type Format (CTF) is a way of representing information about a bin
|
||||
%prep
|
||||
echo "make check will return with %{make_check_handling} in case of testsuite failures."
|
||||
%setup -q -n binutils-%{version}
|
||||
|
||||
# Backup flex and biscon files for later verification.
|
||||
cp ld/ldlex.l ld/ldlex.l.orig
|
||||
cp ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
# Patch is outside test_vanilla because it's supposed to be the
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
@ -229,14 +234,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
#
|
||||
# test_vanilla
|
||||
%endif
|
||||
# in parallel builds, when the flex or bison inputs are patched (possibly
|
||||
# in the ...-branch.diff) it might happen that the dependency tracking
|
||||
# of automake is confused and uses the old .c files from srcdir/ld/ while
|
||||
# also generating the new .c files in builddir/ld leading to trouble.
|
||||
# I haven't found the right entries to ensure this doesn't happen, so
|
||||
# simply remove the intermediates
|
||||
rm -f ld/ldlex.c
|
||||
rm -f ld/ldgram.c ld/ldgram.h
|
||||
|
||||
# Due to legacy flex version present in SLE-12 (and older), we cannot
|
||||
# re-generate flex and bison files and so we verify that any patch modify these files.
|
||||
diff -u ld/ldlex.l ld/ldlex.l.orig
|
||||
diff -u ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 09:10:44 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Do not re-generate ld/ldlex.c, ld/ldgram.c, ld/ldgram.h and verify
|
||||
that corresponding flex/bison files are not modified by a patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 06:55:14 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -192,6 +192,11 @@ The Compact C Type Format (CTF) is a way of representing information about a bin
|
||||
%prep
|
||||
echo "make check will return with %{make_check_handling} in case of testsuite failures."
|
||||
%setup -q -n binutils-%{version}
|
||||
|
||||
# Backup flex and biscon files for later verification.
|
||||
cp ld/ldlex.l ld/ldlex.l.orig
|
||||
cp ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
# Patch is outside test_vanilla because it's supposed to be the
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
@ -229,14 +234,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
#
|
||||
# test_vanilla
|
||||
%endif
|
||||
# in parallel builds, when the flex or bison inputs are patched (possibly
|
||||
# in the ...-branch.diff) it might happen that the dependency tracking
|
||||
# of automake is confused and uses the old .c files from srcdir/ld/ while
|
||||
# also generating the new .c files in builddir/ld leading to trouble.
|
||||
# I haven't found the right entries to ensure this doesn't happen, so
|
||||
# simply remove the intermediates
|
||||
rm -f ld/ldlex.c
|
||||
rm -f ld/ldgram.c ld/ldgram.h
|
||||
|
||||
# Due to legacy flex version present in SLE-12 (and older), we cannot
|
||||
# re-generate flex and bison files and so we verify that any patch modify these files.
|
||||
diff -u ld/ldlex.l ld/ldlex.l.orig
|
||||
diff -u ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 09:10:44 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Do not re-generate ld/ldlex.c, ld/ldgram.c, ld/ldgram.h and verify
|
||||
that corresponding flex/bison files are not modified by a patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 06:55:14 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -192,6 +192,11 @@ The Compact C Type Format (CTF) is a way of representing information about a bin
|
||||
%prep
|
||||
echo "make check will return with %{make_check_handling} in case of testsuite failures."
|
||||
%setup -q -n binutils-%{version}
|
||||
|
||||
# Backup flex and biscon files for later verification.
|
||||
cp ld/ldlex.l ld/ldlex.l.orig
|
||||
cp ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
# Patch is outside test_vanilla because it's supposed to be the
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
@ -229,14 +234,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
#
|
||||
# test_vanilla
|
||||
%endif
|
||||
# in parallel builds, when the flex or bison inputs are patched (possibly
|
||||
# in the ...-branch.diff) it might happen that the dependency tracking
|
||||
# of automake is confused and uses the old .c files from srcdir/ld/ while
|
||||
# also generating the new .c files in builddir/ld leading to trouble.
|
||||
# I haven't found the right entries to ensure this doesn't happen, so
|
||||
# simply remove the intermediates
|
||||
rm -f ld/ldlex.c
|
||||
rm -f ld/ldgram.c ld/ldgram.h
|
||||
|
||||
# Due to legacy flex version present in SLE-12 (and older), we cannot
|
||||
# re-generate flex and bison files and so we verify that any patch modify these files.
|
||||
diff -u ld/ldlex.l ld/ldlex.l.orig
|
||||
diff -u ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 09:10:44 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Do not re-generate ld/ldlex.c, ld/ldgram.c, ld/ldgram.h and verify
|
||||
that corresponding flex/bison files are not modified by a patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 06:55:14 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -192,6 +192,11 @@ The Compact C Type Format (CTF) is a way of representing information about a bin
|
||||
%prep
|
||||
echo "make check will return with %{make_check_handling} in case of testsuite failures."
|
||||
%setup -q -n binutils-%{version}
|
||||
|
||||
# Backup flex and biscon files for later verification.
|
||||
cp ld/ldlex.l ld/ldlex.l.orig
|
||||
cp ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
# Patch is outside test_vanilla because it's supposed to be the
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
@ -229,14 +234,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
#
|
||||
# test_vanilla
|
||||
%endif
|
||||
# in parallel builds, when the flex or bison inputs are patched (possibly
|
||||
# in the ...-branch.diff) it might happen that the dependency tracking
|
||||
# of automake is confused and uses the old .c files from srcdir/ld/ while
|
||||
# also generating the new .c files in builddir/ld leading to trouble.
|
||||
# I haven't found the right entries to ensure this doesn't happen, so
|
||||
# simply remove the intermediates
|
||||
rm -f ld/ldlex.c
|
||||
rm -f ld/ldgram.c ld/ldgram.h
|
||||
|
||||
# Due to legacy flex version present in SLE-12 (and older), we cannot
|
||||
# re-generate flex and bison files and so we verify that any patch modify these files.
|
||||
diff -u ld/ldlex.l ld/ldlex.l.orig
|
||||
diff -u ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 09:10:44 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Do not re-generate ld/ldlex.c, ld/ldgram.c, ld/ldgram.h and verify
|
||||
that corresponding flex/bison files are not modified by a patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 06:55:14 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -192,6 +192,11 @@ The Compact C Type Format (CTF) is a way of representing information about a bin
|
||||
%prep
|
||||
echo "make check will return with %{make_check_handling} in case of testsuite failures."
|
||||
%setup -q -n binutils-%{version}
|
||||
|
||||
# Backup flex and biscon files for later verification.
|
||||
cp ld/ldlex.l ld/ldlex.l.orig
|
||||
cp ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
# Patch is outside test_vanilla because it's supposed to be the
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
@ -229,14 +234,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
#
|
||||
# test_vanilla
|
||||
%endif
|
||||
# in parallel builds, when the flex or bison inputs are patched (possibly
|
||||
# in the ...-branch.diff) it might happen that the dependency tracking
|
||||
# of automake is confused and uses the old .c files from srcdir/ld/ while
|
||||
# also generating the new .c files in builddir/ld leading to trouble.
|
||||
# I haven't found the right entries to ensure this doesn't happen, so
|
||||
# simply remove the intermediates
|
||||
rm -f ld/ldlex.c
|
||||
rm -f ld/ldgram.c ld/ldgram.h
|
||||
|
||||
# Due to legacy flex version present in SLE-12 (and older), we cannot
|
||||
# re-generate flex and bison files and so we verify that any patch modify these files.
|
||||
diff -u ld/ldlex.l ld/ldlex.l.orig
|
||||
diff -u ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 09:10:44 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Do not re-generate ld/ldlex.c, ld/ldgram.c, ld/ldgram.h and verify
|
||||
that corresponding flex/bison files are not modified by a patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 06:55:14 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -192,6 +192,11 @@ The Compact C Type Format (CTF) is a way of representing information about a bin
|
||||
%prep
|
||||
echo "make check will return with %{make_check_handling} in case of testsuite failures."
|
||||
%setup -q -n binutils-%{version}
|
||||
|
||||
# Backup flex and biscon files for later verification.
|
||||
cp ld/ldlex.l ld/ldlex.l.orig
|
||||
cp ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
# Patch is outside test_vanilla because it's supposed to be the
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
@ -229,14 +234,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
#
|
||||
# test_vanilla
|
||||
%endif
|
||||
# in parallel builds, when the flex or bison inputs are patched (possibly
|
||||
# in the ...-branch.diff) it might happen that the dependency tracking
|
||||
# of automake is confused and uses the old .c files from srcdir/ld/ while
|
||||
# also generating the new .c files in builddir/ld leading to trouble.
|
||||
# I haven't found the right entries to ensure this doesn't happen, so
|
||||
# simply remove the intermediates
|
||||
rm -f ld/ldlex.c
|
||||
rm -f ld/ldgram.c ld/ldgram.h
|
||||
|
||||
# Due to legacy flex version present in SLE-12 (and older), we cannot
|
||||
# re-generate flex and bison files and so we verify that any patch modify these files.
|
||||
diff -u ld/ldlex.l ld/ldlex.l.orig
|
||||
diff -u ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 09:10:44 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Do not re-generate ld/ldlex.c, ld/ldgram.c, ld/ldgram.h and verify
|
||||
that corresponding flex/bison files are not modified by a patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 06:55:14 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -192,6 +192,11 @@ The Compact C Type Format (CTF) is a way of representing information about a bin
|
||||
%prep
|
||||
echo "make check will return with %{make_check_handling} in case of testsuite failures."
|
||||
%setup -q -n binutils-%{version}
|
||||
|
||||
# Backup flex and biscon files for later verification.
|
||||
cp ld/ldlex.l ld/ldlex.l.orig
|
||||
cp ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
# Patch is outside test_vanilla because it's supposed to be the
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
@ -229,14 +234,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
#
|
||||
# test_vanilla
|
||||
%endif
|
||||
# in parallel builds, when the flex or bison inputs are patched (possibly
|
||||
# in the ...-branch.diff) it might happen that the dependency tracking
|
||||
# of automake is confused and uses the old .c files from srcdir/ld/ while
|
||||
# also generating the new .c files in builddir/ld leading to trouble.
|
||||
# I haven't found the right entries to ensure this doesn't happen, so
|
||||
# simply remove the intermediates
|
||||
rm -f ld/ldlex.c
|
||||
rm -f ld/ldgram.c ld/ldgram.h
|
||||
|
||||
# Due to legacy flex version present in SLE-12 (and older), we cannot
|
||||
# re-generate flex and bison files and so we verify that any patch modify these files.
|
||||
diff -u ld/ldlex.l ld/ldlex.l.orig
|
||||
diff -u ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 09:10:44 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Do not re-generate ld/ldlex.c, ld/ldgram.c, ld/ldgram.h and verify
|
||||
that corresponding flex/bison files are not modified by a patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 06:55:14 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -192,6 +192,11 @@ The Compact C Type Format (CTF) is a way of representing information about a bin
|
||||
%prep
|
||||
echo "make check will return with %{make_check_handling} in case of testsuite failures."
|
||||
%setup -q -n binutils-%{version}
|
||||
|
||||
# Backup flex and biscon files for later verification.
|
||||
cp ld/ldlex.l ld/ldlex.l.orig
|
||||
cp ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
# Patch is outside test_vanilla because it's supposed to be the
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
@ -229,14 +234,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
#
|
||||
# test_vanilla
|
||||
%endif
|
||||
# in parallel builds, when the flex or bison inputs are patched (possibly
|
||||
# in the ...-branch.diff) it might happen that the dependency tracking
|
||||
# of automake is confused and uses the old .c files from srcdir/ld/ while
|
||||
# also generating the new .c files in builddir/ld leading to trouble.
|
||||
# I haven't found the right entries to ensure this doesn't happen, so
|
||||
# simply remove the intermediates
|
||||
rm -f ld/ldlex.c
|
||||
rm -f ld/ldgram.c ld/ldgram.h
|
||||
|
||||
# Due to legacy flex version present in SLE-12 (and older), we cannot
|
||||
# re-generate flex and bison files and so we verify that any patch modify these files.
|
||||
diff -u ld/ldlex.l ld/ldlex.l.orig
|
||||
diff -u ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 09:10:44 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Do not re-generate ld/ldlex.c, ld/ldgram.c, ld/ldgram.h and verify
|
||||
that corresponding flex/bison files are not modified by a patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 06:55:14 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -192,6 +192,11 @@ The Compact C Type Format (CTF) is a way of representing information about a bin
|
||||
%prep
|
||||
echo "make check will return with %{make_check_handling} in case of testsuite failures."
|
||||
%setup -q -n binutils-%{version}
|
||||
|
||||
# Backup flex and biscon files for later verification.
|
||||
cp ld/ldlex.l ld/ldlex.l.orig
|
||||
cp ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
# Patch is outside test_vanilla because it's supposed to be the
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
@ -229,14 +234,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
#
|
||||
# test_vanilla
|
||||
%endif
|
||||
# in parallel builds, when the flex or bison inputs are patched (possibly
|
||||
# in the ...-branch.diff) it might happen that the dependency tracking
|
||||
# of automake is confused and uses the old .c files from srcdir/ld/ while
|
||||
# also generating the new .c files in builddir/ld leading to trouble.
|
||||
# I haven't found the right entries to ensure this doesn't happen, so
|
||||
# simply remove the intermediates
|
||||
rm -f ld/ldlex.c
|
||||
rm -f ld/ldgram.c ld/ldgram.h
|
||||
|
||||
# Due to legacy flex version present in SLE-12 (and older), we cannot
|
||||
# re-generate flex and bison files and so we verify that any patch modify these files.
|
||||
diff -u ld/ldlex.l ld/ldlex.l.orig
|
||||
diff -u ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 09:10:44 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Do not re-generate ld/ldlex.c, ld/ldgram.c, ld/ldgram.h and verify
|
||||
that corresponding flex/bison files are not modified by a patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 06:55:14 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -192,6 +192,11 @@ The Compact C Type Format (CTF) is a way of representing information about a bin
|
||||
%prep
|
||||
echo "make check will return with %{make_check_handling} in case of testsuite failures."
|
||||
%setup -q -n binutils-%{version}
|
||||
|
||||
# Backup flex and biscon files for later verification.
|
||||
cp ld/ldlex.l ld/ldlex.l.orig
|
||||
cp ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
# Patch is outside test_vanilla because it's supposed to be the
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
@ -229,14 +234,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
#
|
||||
# test_vanilla
|
||||
%endif
|
||||
# in parallel builds, when the flex or bison inputs are patched (possibly
|
||||
# in the ...-branch.diff) it might happen that the dependency tracking
|
||||
# of automake is confused and uses the old .c files from srcdir/ld/ while
|
||||
# also generating the new .c files in builddir/ld leading to trouble.
|
||||
# I haven't found the right entries to ensure this doesn't happen, so
|
||||
# simply remove the intermediates
|
||||
rm -f ld/ldlex.c
|
||||
rm -f ld/ldgram.c ld/ldgram.h
|
||||
|
||||
# Due to legacy flex version present in SLE-12 (and older), we cannot
|
||||
# re-generate flex and bison files and so we verify that any patch modify these files.
|
||||
diff -u ld/ldlex.l ld/ldlex.l.orig
|
||||
diff -u ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 09:10:44 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Do not re-generate ld/ldlex.c, ld/ldgram.c, ld/ldgram.h and verify
|
||||
that corresponding flex/bison files are not modified by a patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 06:55:14 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -192,6 +192,11 @@ The Compact C Type Format (CTF) is a way of representing information about a bin
|
||||
%prep
|
||||
echo "make check will return with %{make_check_handling} in case of testsuite failures."
|
||||
%setup -q -n binutils-%{version}
|
||||
|
||||
# Backup flex and biscon files for later verification.
|
||||
cp ld/ldlex.l ld/ldlex.l.orig
|
||||
cp ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
# Patch is outside test_vanilla because it's supposed to be the
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
@ -229,14 +234,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
#
|
||||
# test_vanilla
|
||||
%endif
|
||||
# in parallel builds, when the flex or bison inputs are patched (possibly
|
||||
# in the ...-branch.diff) it might happen that the dependency tracking
|
||||
# of automake is confused and uses the old .c files from srcdir/ld/ while
|
||||
# also generating the new .c files in builddir/ld leading to trouble.
|
||||
# I haven't found the right entries to ensure this doesn't happen, so
|
||||
# simply remove the intermediates
|
||||
rm -f ld/ldlex.c
|
||||
rm -f ld/ldgram.c ld/ldgram.h
|
||||
|
||||
# Due to legacy flex version present in SLE-12 (and older), we cannot
|
||||
# re-generate flex and bison files and so we verify that any patch modify these files.
|
||||
diff -u ld/ldlex.l ld/ldlex.l.orig
|
||||
diff -u ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 09:10:44 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Do not re-generate ld/ldlex.c, ld/ldgram.c, ld/ldgram.h and verify
|
||||
that corresponding flex/bison files are not modified by a patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 06:55:14 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -192,6 +192,11 @@ The Compact C Type Format (CTF) is a way of representing information about a bin
|
||||
%prep
|
||||
echo "make check will return with %{make_check_handling} in case of testsuite failures."
|
||||
%setup -q -n binutils-%{version}
|
||||
|
||||
# Backup flex and biscon files for later verification.
|
||||
cp ld/ldlex.l ld/ldlex.l.orig
|
||||
cp ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
# Patch is outside test_vanilla because it's supposed to be the
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
@ -229,14 +234,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
#
|
||||
# test_vanilla
|
||||
%endif
|
||||
# in parallel builds, when the flex or bison inputs are patched (possibly
|
||||
# in the ...-branch.diff) it might happen that the dependency tracking
|
||||
# of automake is confused and uses the old .c files from srcdir/ld/ while
|
||||
# also generating the new .c files in builddir/ld leading to trouble.
|
||||
# I haven't found the right entries to ensure this doesn't happen, so
|
||||
# simply remove the intermediates
|
||||
rm -f ld/ldlex.c
|
||||
rm -f ld/ldgram.c ld/ldgram.h
|
||||
|
||||
# Due to legacy flex version present in SLE-12 (and older), we cannot
|
||||
# re-generate flex and bison files and so we verify that any patch modify these files.
|
||||
diff -u ld/ldlex.l ld/ldlex.l.orig
|
||||
diff -u ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 09:10:44 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Do not re-generate ld/ldlex.c, ld/ldgram.c, ld/ldgram.h and verify
|
||||
that corresponding flex/bison files are not modified by a patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 06:55:14 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -192,6 +192,11 @@ The Compact C Type Format (CTF) is a way of representing information about a bin
|
||||
%prep
|
||||
echo "make check will return with %{make_check_handling} in case of testsuite failures."
|
||||
%setup -q -n binutils-%{version}
|
||||
|
||||
# Backup flex and biscon files for later verification.
|
||||
cp ld/ldlex.l ld/ldlex.l.orig
|
||||
cp ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
# Patch is outside test_vanilla because it's supposed to be the
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
@ -229,14 +234,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
#
|
||||
# test_vanilla
|
||||
%endif
|
||||
# in parallel builds, when the flex or bison inputs are patched (possibly
|
||||
# in the ...-branch.diff) it might happen that the dependency tracking
|
||||
# of automake is confused and uses the old .c files from srcdir/ld/ while
|
||||
# also generating the new .c files in builddir/ld leading to trouble.
|
||||
# I haven't found the right entries to ensure this doesn't happen, so
|
||||
# simply remove the intermediates
|
||||
rm -f ld/ldlex.c
|
||||
rm -f ld/ldgram.c ld/ldgram.h
|
||||
|
||||
# Due to legacy flex version present in SLE-12 (and older), we cannot
|
||||
# re-generate flex and bison files and so we verify that any patch modify these files.
|
||||
diff -u ld/ldlex.l ld/ldlex.l.orig
|
||||
diff -u ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 09:10:44 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Do not re-generate ld/ldlex.c, ld/ldgram.c, ld/ldgram.h and verify
|
||||
that corresponding flex/bison files are not modified by a patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 06:55:14 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -192,6 +192,11 @@ The Compact C Type Format (CTF) is a way of representing information about a bin
|
||||
%prep
|
||||
echo "make check will return with %{make_check_handling} in case of testsuite failures."
|
||||
%setup -q -n binutils-%{version}
|
||||
|
||||
# Backup flex and biscon files for later verification.
|
||||
cp ld/ldlex.l ld/ldlex.l.orig
|
||||
cp ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
# Patch is outside test_vanilla because it's supposed to be the
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
@ -229,14 +234,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
#
|
||||
# test_vanilla
|
||||
%endif
|
||||
# in parallel builds, when the flex or bison inputs are patched (possibly
|
||||
# in the ...-branch.diff) it might happen that the dependency tracking
|
||||
# of automake is confused and uses the old .c files from srcdir/ld/ while
|
||||
# also generating the new .c files in builddir/ld leading to trouble.
|
||||
# I haven't found the right entries to ensure this doesn't happen, so
|
||||
# simply remove the intermediates
|
||||
rm -f ld/ldlex.c
|
||||
rm -f ld/ldgram.c ld/ldgram.h
|
||||
|
||||
# Due to legacy flex version present in SLE-12 (and older), we cannot
|
||||
# re-generate flex and bison files and so we verify that any patch modify these files.
|
||||
diff -u ld/ldlex.l ld/ldlex.l.orig
|
||||
diff -u ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 09:10:44 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Do not re-generate ld/ldlex.c, ld/ldgram.c, ld/ldgram.h and verify
|
||||
that corresponding flex/bison files are not modified by a patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 06:55:14 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -192,6 +192,11 @@ The Compact C Type Format (CTF) is a way of representing information about a bin
|
||||
%prep
|
||||
echo "make check will return with %{make_check_handling} in case of testsuite failures."
|
||||
%setup -q -n binutils-%{version}
|
||||
|
||||
# Backup flex and biscon files for later verification.
|
||||
cp ld/ldlex.l ld/ldlex.l.orig
|
||||
cp ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
# Patch is outside test_vanilla because it's supposed to be the
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
@ -229,14 +234,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
#
|
||||
# test_vanilla
|
||||
%endif
|
||||
# in parallel builds, when the flex or bison inputs are patched (possibly
|
||||
# in the ...-branch.diff) it might happen that the dependency tracking
|
||||
# of automake is confused and uses the old .c files from srcdir/ld/ while
|
||||
# also generating the new .c files in builddir/ld leading to trouble.
|
||||
# I haven't found the right entries to ensure this doesn't happen, so
|
||||
# simply remove the intermediates
|
||||
rm -f ld/ldlex.c
|
||||
rm -f ld/ldgram.c ld/ldgram.h
|
||||
|
||||
# Due to legacy flex version present in SLE-12 (and older), we cannot
|
||||
# re-generate flex and bison files and so we verify that any patch modify these files.
|
||||
diff -u ld/ldlex.l ld/ldlex.l.orig
|
||||
diff -u ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 09:10:44 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Do not re-generate ld/ldlex.c, ld/ldgram.c, ld/ldgram.h and verify
|
||||
that corresponding flex/bison files are not modified by a patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 06:55:14 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -192,6 +192,11 @@ The Compact C Type Format (CTF) is a way of representing information about a bin
|
||||
%prep
|
||||
echo "make check will return with %{make_check_handling} in case of testsuite failures."
|
||||
%setup -q -n binutils-%{version}
|
||||
|
||||
# Backup flex and biscon files for later verification.
|
||||
cp ld/ldlex.l ld/ldlex.l.orig
|
||||
cp ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
# Patch is outside test_vanilla because it's supposed to be the
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
@ -229,14 +234,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
#
|
||||
# test_vanilla
|
||||
%endif
|
||||
# in parallel builds, when the flex or bison inputs are patched (possibly
|
||||
# in the ...-branch.diff) it might happen that the dependency tracking
|
||||
# of automake is confused and uses the old .c files from srcdir/ld/ while
|
||||
# also generating the new .c files in builddir/ld leading to trouble.
|
||||
# I haven't found the right entries to ensure this doesn't happen, so
|
||||
# simply remove the intermediates
|
||||
rm -f ld/ldlex.c
|
||||
rm -f ld/ldgram.c ld/ldgram.h
|
||||
|
||||
# Due to legacy flex version present in SLE-12 (and older), we cannot
|
||||
# re-generate flex and bison files and so we verify that any patch modify these files.
|
||||
diff -u ld/ldlex.l ld/ldlex.l.orig
|
||||
diff -u ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 09:10:44 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Do not re-generate ld/ldlex.c, ld/ldgram.c, ld/ldgram.h and verify
|
||||
that corresponding flex/bison files are not modified by a patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 06:55:14 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -192,6 +192,11 @@ The Compact C Type Format (CTF) is a way of representing information about a bin
|
||||
%prep
|
||||
echo "make check will return with %{make_check_handling} in case of testsuite failures."
|
||||
%setup -q -n binutils-%{version}
|
||||
|
||||
# Backup flex and biscon files for later verification.
|
||||
cp ld/ldlex.l ld/ldlex.l.orig
|
||||
cp ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
# Patch is outside test_vanilla because it's supposed to be the
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
@ -229,14 +234,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
#
|
||||
# test_vanilla
|
||||
%endif
|
||||
# in parallel builds, when the flex or bison inputs are patched (possibly
|
||||
# in the ...-branch.diff) it might happen that the dependency tracking
|
||||
# of automake is confused and uses the old .c files from srcdir/ld/ while
|
||||
# also generating the new .c files in builddir/ld leading to trouble.
|
||||
# I haven't found the right entries to ensure this doesn't happen, so
|
||||
# simply remove the intermediates
|
||||
rm -f ld/ldlex.c
|
||||
rm -f ld/ldgram.c ld/ldgram.h
|
||||
|
||||
# Due to legacy flex version present in SLE-12 (and older), we cannot
|
||||
# re-generate flex and bison files and so we verify that any patch modify these files.
|
||||
diff -u ld/ldlex.l ld/ldlex.l.orig
|
||||
diff -u ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 09:10:44 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Do not re-generate ld/ldlex.c, ld/ldgram.c, ld/ldgram.h and verify
|
||||
that corresponding flex/bison files are not modified by a patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 06:55:14 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -192,6 +192,11 @@ The Compact C Type Format (CTF) is a way of representing information about a bin
|
||||
%prep
|
||||
echo "make check will return with %{make_check_handling} in case of testsuite failures."
|
||||
%setup -q -n binutils-%{version}
|
||||
|
||||
# Backup flex and biscon files for later verification.
|
||||
cp ld/ldlex.l ld/ldlex.l.orig
|
||||
cp ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
# Patch is outside test_vanilla because it's supposed to be the
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
@ -229,14 +234,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
#
|
||||
# test_vanilla
|
||||
%endif
|
||||
# in parallel builds, when the flex or bison inputs are patched (possibly
|
||||
# in the ...-branch.diff) it might happen that the dependency tracking
|
||||
# of automake is confused and uses the old .c files from srcdir/ld/ while
|
||||
# also generating the new .c files in builddir/ld leading to trouble.
|
||||
# I haven't found the right entries to ensure this doesn't happen, so
|
||||
# simply remove the intermediates
|
||||
rm -f ld/ldlex.c
|
||||
rm -f ld/ldgram.c ld/ldgram.h
|
||||
|
||||
# Due to legacy flex version present in SLE-12 (and older), we cannot
|
||||
# re-generate flex and bison files and so we verify that any patch modify these files.
|
||||
diff -u ld/ldlex.l ld/ldlex.l.orig
|
||||
diff -u ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 09:10:44 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Do not re-generate ld/ldlex.c, ld/ldgram.c, ld/ldgram.h and verify
|
||||
that corresponding flex/bison files are not modified by a patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 06:55:14 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -192,6 +192,11 @@ The Compact C Type Format (CTF) is a way of representing information about a bin
|
||||
%prep
|
||||
echo "make check will return with %{make_check_handling} in case of testsuite failures."
|
||||
%setup -q -n binutils-%{version}
|
||||
|
||||
# Backup flex and biscon files for later verification.
|
||||
cp ld/ldlex.l ld/ldlex.l.orig
|
||||
cp ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
# Patch is outside test_vanilla because it's supposed to be the
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
@ -229,14 +234,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
#
|
||||
# test_vanilla
|
||||
%endif
|
||||
# in parallel builds, when the flex or bison inputs are patched (possibly
|
||||
# in the ...-branch.diff) it might happen that the dependency tracking
|
||||
# of automake is confused and uses the old .c files from srcdir/ld/ while
|
||||
# also generating the new .c files in builddir/ld leading to trouble.
|
||||
# I haven't found the right entries to ensure this doesn't happen, so
|
||||
# simply remove the intermediates
|
||||
rm -f ld/ldlex.c
|
||||
rm -f ld/ldgram.c ld/ldgram.h
|
||||
|
||||
# Due to legacy flex version present in SLE-12 (and older), we cannot
|
||||
# re-generate flex and bison files and so we verify that any patch modify these files.
|
||||
diff -u ld/ldlex.l ld/ldlex.l.orig
|
||||
diff -u ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 09:10:44 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Do not re-generate ld/ldlex.c, ld/ldgram.c, ld/ldgram.h and verify
|
||||
that corresponding flex/bison files are not modified by a patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 06:55:14 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -192,6 +192,11 @@ The Compact C Type Format (CTF) is a way of representing information about a bin
|
||||
%prep
|
||||
echo "make check will return with %{make_check_handling} in case of testsuite failures."
|
||||
%setup -q -n binutils-%{version}
|
||||
|
||||
# Backup flex and biscon files for later verification.
|
||||
cp ld/ldlex.l ld/ldlex.l.orig
|
||||
cp ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
# Patch is outside test_vanilla because it's supposed to be the
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
@ -229,14 +234,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
#
|
||||
# test_vanilla
|
||||
%endif
|
||||
# in parallel builds, when the flex or bison inputs are patched (possibly
|
||||
# in the ...-branch.diff) it might happen that the dependency tracking
|
||||
# of automake is confused and uses the old .c files from srcdir/ld/ while
|
||||
# also generating the new .c files in builddir/ld leading to trouble.
|
||||
# I haven't found the right entries to ensure this doesn't happen, so
|
||||
# simply remove the intermediates
|
||||
rm -f ld/ldlex.c
|
||||
rm -f ld/ldgram.c ld/ldgram.h
|
||||
|
||||
# Due to legacy flex version present in SLE-12 (and older), we cannot
|
||||
# re-generate flex and bison files and so we verify that any patch modify these files.
|
||||
diff -u ld/ldlex.l ld/ldlex.l.orig
|
||||
diff -u ld/ldgram.y ld/ldgram.y.orig
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
|
Loading…
Reference in New Issue
Block a user