From e5bc6cd67ca865a4920162350fc1cc55eb4db3ea Mon Sep 17 00:00:00 2001 From: Matt Pharr Date: Thu, 23 Jun 2011 10:00:07 -0700 Subject: [PATCH] Update examples/ Makefiles to make x86-64 explicit in compiler flags --- examples/aobench/Makefile | 4 ++-- examples/aobench_instrumented/Makefile | 4 ++-- examples/mandelbrot/Makefile | 4 ++-- examples/mandelbrot_tasks/Makefile | 4 ++-- examples/options/Makefile | 4 ++-- examples/rt/Makefile | 4 ++-- examples/simple/Makefile | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/examples/aobench/Makefile b/examples/aobench/Makefile index 8674f7bb..60394e2b 100644 --- a/examples/aobench/Makefile +++ b/examples/aobench/Makefile @@ -1,8 +1,8 @@ -CXX=g++ +CXX=g++ -m64 CXXFLAGS=-Iobjs/ -O3 -Wall ISPC=ispc -ISPCFLAGS=-O2 --fast-math +ISPCFLAGS=-O2 --fast-math --arch=x86-64 default: ao diff --git a/examples/aobench_instrumented/Makefile b/examples/aobench_instrumented/Makefile index 296a5882..cedff406 100644 --- a/examples/aobench_instrumented/Makefile +++ b/examples/aobench_instrumented/Makefile @@ -1,8 +1,8 @@ -CXX=g++ +CXX=g++ -m64 CXXFLAGS=-Iobjs/ -g3 -Wall ISPC=ispc -ISPCFLAGS=-O2 --fast-math --instrument +ISPCFLAGS=-O2 --fast-math --instrument --arch=x86-64 default: ao diff --git a/examples/mandelbrot/Makefile b/examples/mandelbrot/Makefile index dd369d0b..a78e4743 100644 --- a/examples/mandelbrot/Makefile +++ b/examples/mandelbrot/Makefile @@ -1,8 +1,8 @@ -CXX=g++ +CXX=g++ -m64 CXXFLAGS=-Iobjs/ -O3 -Wall ISPC=ispc -ISPCFLAGS=-O2 --target=sse4x2 +ISPCFLAGS=-O2 --target=sse4x2 --arch=x86-64 default: mandelbrot diff --git a/examples/mandelbrot_tasks/Makefile b/examples/mandelbrot_tasks/Makefile index 182c2698..263cf750 100644 --- a/examples/mandelbrot_tasks/Makefile +++ b/examples/mandelbrot_tasks/Makefile @@ -11,10 +11,10 @@ endif TASK_OBJ=$(addprefix objs/, $(TASK_CXX:.cpp=.o)) -CXX=g++ +CXX=g++ -m64 CXXFLAGS=-Iobjs/ -O3 -Wall ISPC=ispc -ISPCFLAGS=-O2 --target=sse4x2 +ISPCFLAGS=-O2 --target=sse4x2 --arch=x86-64 default: mandelbrot diff --git a/examples/options/Makefile b/examples/options/Makefile index 46be29e2..d5f519f6 100644 --- a/examples/options/Makefile +++ b/examples/options/Makefile @@ -1,8 +1,8 @@ -CXX=g++ +CXX=g++ -m64 CXXFLAGS=-Iobjs/ -g -Wall ISPC=ispc -ISPCFLAGS=-O2 --target=sse4x2 +ISPCFLAGS=-O2 --target=sse4x2 --arch=x86-64 default: options diff --git a/examples/rt/Makefile b/examples/rt/Makefile index 7df58868..d0f18909 100644 --- a/examples/rt/Makefile +++ b/examples/rt/Makefile @@ -1,8 +1,8 @@ -CXX=g++ +CXX=g++ -m64 CXXFLAGS=-Iobjs/ -O3 -Wall ISPC=ispc -ISPCFLAGS=-O2 --target=sse4x2 +ISPCFLAGS=-O2 --target=sse4x2 --arch=x86-64 default: rt diff --git a/examples/simple/Makefile b/examples/simple/Makefile index b00c6737..207369e3 100644 --- a/examples/simple/Makefile +++ b/examples/simple/Makefile @@ -1,8 +1,8 @@ -CXX=g++ +CXX=g++ -m64 CXXFLAGS=-Iobjs/ -O3 -Wall ISPC=ispc -ISPCFLAGS=-O2 +ISPCFLAGS=-O2 --arch=x86-64 default: simple