BGP: Compile trace-controlPoints-BGP.a with optimization off
authorPhil Miller <phil@login2.surveyor.alcf.anl.gov>
Thu, 1 Apr 2010 16:19:06 +0000 (11:19 -0500)
committerPhil Miller <mille121@illinois.edu>
Thu, 1 Apr 2010 20:04:35 +0000 (15:04 -0500)
Passing xlc optimization flags to g++ makes a mess. Specify -no-optimize on
the one file that forces g++ usage so that this doesn't happen.

src/arch/bluegenep/Makefile.machine

index 4fb1baeb899de0bc95803289d2e7e3e5fd03fbb5..7fecdfceefc62732ae2486117030a1861236b1a0 100644 (file)
@@ -6,7 +6,7 @@ $(L)/libtrace-controlPoints.a : trace-controlPoints-BGP.o
 
 # The BGP performance counter library UPC must be compiled with gcc:
 trace-controlPoints-BGP.o : trace-controlPoints-BGP.C converse.h
-       $(CHARMC) -c++ g++ -c trace-controlPoints-BGP.C -o trace-controlPoints-BGP.o  -I/bgsys/drivers/ppcfloor/arch/include/ $(OPTS)
+       $(CHARMC) -c++ g++ -c trace-controlPoints-BGP.C -o trace-controlPoints-BGP.o  -I/bgsys/drivers/ppcfloor/arch/include/ $(OPTS) -no-optimize