forked from pool/gcc15
- Take patches inherited from GCC 14. * gcc-add-defaultsspec.diff, add the ability to provide a specs file that is read by default * tls-no-direct.diff, avoid direct %fs references on x86 to not slow down Xen * gcc43-no-unwind-tables.diff, do not produce unwind tables for CRT files * gcc41-ppc32-retaddr.patch, fix expansion of __builtin_return_addr for ppc, just a testcase * gcc44-textdomain.patch, make translation files version specific and adjust textdomain to find them * gcc44-rename-info-files.patch, fix cross-references in info files when renaming them to be version specific * gcc48-libstdc++-api-reference.patch, fix link in the installed libstdc++ html documentation * gcc7-remove-Wexpansion-to-defined-from-Wextra.patch, removes new warning from -Wextra * gcc7-avoid-fixinc-error.diff * gcc9-reproducible-builds-buildid-for-checksum.patch * gcc9-reproducible-builds.patch * gcc11-gdwarf-4-default.patch, default to -gdwarf-4 on old products OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc15?expand=0&rev=1
32 lines
494 B
Bash
32 lines
494 B
Bash
#!/bin/bash
|
|
# This script is called automatically during autobuild checkin.
|
|
|
|
case $0 in
|
|
\./*)
|
|
here=$PWD
|
|
;;
|
|
*/*)
|
|
here=${0%/*}
|
|
;;
|
|
*)
|
|
here=$PWD
|
|
;;
|
|
esac
|
|
case ${here##*/} in
|
|
gcc*.*)
|
|
# Handle maintainance projects with .$REPO suffix
|
|
suffix=${here##*/}
|
|
suffix=${suffix%%\.*}
|
|
set ${suffix#gcc}
|
|
;;
|
|
gcc-*)
|
|
suffix=${here##*/}
|
|
set ${suffix#*-}-
|
|
;;
|
|
gcc[0-9]*)
|
|
suffix=${here##*/}
|
|
set ${suffix#gcc}
|
|
;;
|
|
esac
|
|
. ${here}/change_spec
|