From 24925a5a1ab28877f44f6aaa9f4ecec92ba7a443 Mon Sep 17 00:00:00 2001 From: Icarus Radio Date: Wed, 24 Apr 2019 14:34:21 +0800 Subject: [PATCH] Fix an issue where the program cannot compile under newer versions of GCC. [Reference](https://github.com/xoreaxeaxeax/rosenbridge/issues/1#issuecomment-411902409) --- prog3_mandelbrot_ispc/Makefile | 2 +- prog4_sqrt/Makefile | 2 +- prog5_saxpy/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/prog3_mandelbrot_ispc/Makefile b/prog3_mandelbrot_ispc/Makefile index 07c0a2a..8a5237b 100644 --- a/prog3_mandelbrot_ispc/Makefile +++ b/prog3_mandelbrot_ispc/Makefile @@ -1,5 +1,5 @@ CXX=g++ -m64 -CXXFLAGS=-I../common -Iobjs/ -O3 -Wall +CXXFLAGS=-I../common -Iobjs/ -O3 -Wall -no-pie ISPC=ispc # note: change target to avx-x2 for AVX capable machines ISPCFLAGS=-O2 --target=sse4-x2 --arch=x86-64 diff --git a/prog4_sqrt/Makefile b/prog4_sqrt/Makefile index a585c49..55d8f74 100644 --- a/prog4_sqrt/Makefile +++ b/prog4_sqrt/Makefile @@ -1,5 +1,5 @@ CXX=g++ -m64 -CXXFLAGS=-I../common -Iobjs/ -O3 -Wall +CXXFLAGS=-I../common -Iobjs/ -O3 -Wall -no-pie ISPC=ispc # note: change target to avx for AVX capable machines ISPCFLAGS=-O2 --target=sse4 --arch=x86-64 diff --git a/prog5_saxpy/Makefile b/prog5_saxpy/Makefile index 8fe90ea..863d5cd 100644 --- a/prog5_saxpy/Makefile +++ b/prog5_saxpy/Makefile @@ -1,5 +1,5 @@ CXX=g++ -m64 -CXXFLAGS=-I../common -Iobjs/ -O2 -Wall +CXXFLAGS=-I../common -Iobjs/ -O2 -Wall -no-pie ISPC=ispc # note: change target to avx-x2 for AVX capable machines ISPCFLAGS=-O2 --target=sse4-x2 --arch=x86-64