svn commit: trunk/uClibc++/bin

Peter S. Mazinger ps.m at gmx.net
Fri Mar 3 08:55:50 UTC 2006


On Thu, 2 Mar 2006 gkajmowi at uclibc.org wrote:

> Author: gkajmowi
> Date: 2006-03-02 15:49:17 -0800 (Thu, 02 Mar 2006)
> New Revision: 14433
> 
> Log:
> Don't append linking parameters if we are just getting preprocessed source
> or assembler output.
> 
> 
> 
> Modified:
>    trunk/uClibc++/bin/Makefile
> 
> 
> Changeset:
> Modified: trunk/uClibc++/bin/Makefile
> ===================================================================
> --- trunk/uClibc++/bin/Makefile	2006-03-02 18:23:13 UTC (rev 14432)
> +++ trunk/uClibc++/bin/Makefile	2006-03-02 23:49:17 UTC (rev 14433)
> @@ -25,7 +25,7 @@
>  	echo 'while [ -n "$$1" ]' >> $(WRAPPER)
>  	echo 'do' >> $(WRAPPER)
>  	echo '	WRAPPER_OPTIONS="$$WRAPPER_OPTIONS $$1"' >> $(WRAPPER)
> -	echo '	if [ "$$1" == "-c" ]' >> $(WRAPPER)
> +	echo '	if [ "$$1" == "-c" ] || [ "$$1" == "-E" ] || [ "$$1" == "-S" ]' >> $(WRAPPER)

is the syntax consistent (I know the file requires/uses bash, but maybe 
that one could be written to work w/ any bourne-alike-shell)

[[ blah1 ]] || [[ blah2 ]] ...
or
[ blah1 -o blah2 ] ...

Peter

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2




More information about the uClibc mailing list