gcc13/pre_checkin.sh
Richard Biener 59c9df8ab3 - Add gcc13-rs6000-Adjust-fpatchable-function-entry.patch to fix
the incorrect NOPs layout when -fpatchable-function-enry is passed
  in ppc64le.

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc13?expand=0&rev=111
2024-08-05 09:10:07 +00:00

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