recipes: libs/barelibs: Use the force when copy the libraries
[dragora.git] / archive / gcc / c89
blob901cf2d4f84f355e8449adaad9bfd50d065ea63e
1 #! /bin/sh -
3 # Script borrowed from Fedora, slightly adapted
4 # for Dragora GNU/Linux-Libre.
6 default_flag="-std=c89"
8 for option in "$@"
9 do
10 case $option in
11 -ansi | -std=c89 | -std=iso9899:1990 )
12 default_flag=""
14 -std=*)
15 echo "`basename -- "$0"` called with non ANSI/ISO C option $option" 1>&2
16 exit 1
18 esac
19 done
21 exec gcc $default_flag ${1+"$@"}