You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by se...@apache.org on 2007/04/11 02:12:07 UTC
svn commit: r527345 - /incubator/stdcxx/trunk/etc/config/gcc.config
Author: sebor
Date: Tue Apr 10 17:12:06 2007
New Revision: 527345
URL: http://svn.apache.org/viewvc?view=rev&rev=527345
Log:
2007-04-10 Martin Sebor <se...@roguewave.com>
* gcc.config (wide): Encoded the PID of the shell in a temporary file
name to prevent collisions. Removed a stray $ from an invocation of
the echo built-in.
Modified:
incubator/stdcxx/trunk/etc/config/gcc.config
Modified: incubator/stdcxx/trunk/etc/config/gcc.config
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/gcc.config?view=diff&rev=527345&r1=527344&r2=527345
==============================================================================
--- incubator/stdcxx/trunk/etc/config/gcc.config (original)
+++ incubator/stdcxx/trunk/etc/config/gcc.config Tue Apr 10 17:12:06 2007
@@ -260,11 +260,11 @@
# determine whether the default compiler invocation produces
# wide (64-bit) or narrow (32-bit) code and set compiler,
# linker, and other flags accordingly
- wide = $(shell tmpfile=/tmp/longsize; export tmpfile; \
+ wide = $(shell tmpfile=/tmp/longsize-$$; export tmpfile; \
echo "int main() { return 8 == sizeof (long); }" \
> $$tmpfile.c \
&& $(CXX) $$tmpfile.c >/dev/null 2>&1 -o $$tmpfile; \
- $$tmpfile; $echo $$?; rm -f $$tmpfile.c $$tmpfile)
+ $$tmpfile; echo $$?; rm -f $$tmpfile.c $$tmpfile)
ifeq ($(wide),0)
# wide (64-bit) flags