1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00
cde/src/cmd/INIT/cc.ibm.risc.gcc
Johnothan King e54001d58b Various minor capitalization and typo fixes (#371)
This commit fixes various minor typos, punctuation errors and
corrects the capitalization of many names.
2021-12-13 01:49:42 +01:00

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 "$@"