stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r527345 - /incubator/stdcxx/trunk/etc/config/gcc.config
Date Wed, 11 Apr 2007 00:12:07 GMT
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  <sebor@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



Mime
View raw message