#
# The LLVM Compiler Infrastructure
#
-# This file was developed by Reid Spencer and is distributed under the
-# University of Illinois Open Source License. See LICENSE.TXT for details.
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
#
#
##===----------------------------------------------------------------------===##
#
+echo "gccas: This tool is deprecated, please use opt" 1>&2
TOOLDIR=@TOOLDIR@
OPTOPTS="-std-compile-opts -f"
ASOPTS=""
lastwasdasho=0
for option in "$@" ; do
+ option=`echo "$option" | sed 's/^--/-/'`
case "$option" in
-disable-opt)
OPTOPTS="$OPTOPTS $option"
# ignore
;;
-*)
- echo "gccas: Unrecognized option '$option'"
- exit 1
+ OPTOPTS="$OPTOPTS $option"
;;
*)
if test $lastwasdasho -eq 1 ; then