Mercurial > hg-old > index.cgi
changeset 207:0926c29426f4
Updated ar and as scripts to be able to work with libgcc etc.
author | lost |
---|---|
date | Tue, 21 Apr 2009 02:04:57 +0000 |
parents | 299c5d793aca |
children | 06effa2faea1 |
files | extra/ar extra/as |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/extra/ar Mon Apr 20 02:24:33 2009 +0000 +++ b/extra/ar Tue Apr 21 02:04:57 2009 +0000 @@ -44,6 +44,9 @@ x|-x) options="--extract" ;; + -C|--cache) + exit 0 + ;; *) options="--replace --create $options" if [ "$libname" = "" ]; then
--- a/extra/as Mon Apr 20 02:24:33 2009 +0000 +++ b/extra/as Tue Apr 21 02:04:57 2009 +0000 @@ -122,7 +122,7 @@ # --pragma=undefextern causes undefined symbols to be assumed external # --pragma=cescapes allows C escape syntax in strings #echo lwasm -o "$output_file" $options --obj --pragma=undefextern --pragma=cescapes $input_file -lwasm -o "$output_file" $options --obj --pragma=undefextern --pragma=cescapes $input_file +lwasm -o "$output_file" $options --obj --pragma=undefextern --pragma=cescapes --pragma=importundefexport $input_file rc=$? # OK, see if the assembler succeeded or not.