[Assorted-commits] SF.net SVN: assorted:[1325] ydb/trunk/src/Makefile
Brought to you by:
yangzhang
From: <yan...@us...> - 2009-03-23 04:36:24
|
Revision: 1325 http://assorted.svn.sourceforge.net/assorted/?rev=1325&view=rev Author: yangzhang Date: 2009-03-23 04:36:19 +0000 (Mon, 23 Mar 2009) Log Message: ----------- arch is determined just once, on leader Modified Paths: -------------- ydb/trunk/src/Makefile Modified: ydb/trunk/src/Makefile =================================================================== --- ydb/trunk/src/Makefile 2009-03-23 04:25:32 UTC (rev 1324) +++ ydb/trunk/src/Makefile 2009-03-23 04:36:19 UTC (rev 1325) @@ -70,11 +70,12 @@ PPROF := -lprofiler endif +ARCH := $(shell gcc-config march) CXXFLAGS0 = $(OPT) -pthread $(GPROF) \ $(WARNINGS) \ -std=gnu++0x \ -m64 \ - -march=$(shell ./gcc-config march) \ + -march=$(ARCH) \ $(ORIGCXXFLAGS) ifneq ($(PCH),) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |