mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
This commit fixes various minor typos, punctuation errors and corrects the capitalization of many names.
36 lines
492 B
Text
Executable file
36 lines
492 B
Text
Executable file
: cc wrapper for AIX RISC gcc : 2012-04-17 :
|
|
|
|
hosttype=ibm.risc
|
|
|
|
case $HOSTTYPE in
|
|
$hosttype-64)
|
|
case " $* " in
|
|
*" -maix64 "*) ;;
|
|
*) set -- -maix64 "$@" ;;
|
|
esac
|
|
;;
|
|
*) case " $* " in
|
|
*" -maix64 "*) HOSTTYPE=$hosttype-64 ;;
|
|
*) HOSTTYPE=$hosttype ;;
|
|
esac
|
|
;;
|
|
esac
|
|
|
|
case " $* " in
|
|
*" -dumpmachine "*)
|
|
echo $HOSTTYPE
|
|
exit
|
|
;;
|
|
esac
|
|
|
|
cc=gcc
|
|
ccflags=
|
|
|
|
case " $@ " in
|
|
*" -shared "*)
|
|
ccflags="$ccflags -shared -Wl,-G -Wl,-berok"
|
|
;;
|
|
*) ccflags="-Wl,-brtl"
|
|
;;
|
|
esac
|
|
$cc $ccflags "$@"
|