From ef87bb3d58602b580b3c6a424db81b4d5198a690 Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Sun, 21 Feb 2016 12:36:33 +0100 Subject: [PATCH] tune newlib and demo apps for the host platform --- hermit/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hermit/Makefile b/hermit/Makefile index c2aa11492..6c6ca2dfb 100644 --- a/hermit/Makefile +++ b/hermit/Makefile @@ -39,8 +39,8 @@ AR = ar ARFLAGS = rsv RM = rm -rf -CFLAGS_FOR_NEWLIB = -m64 -mtls-direct-seg-refs -mno-red-zone -O3 -mavx2 -mfma -mtune=intel $(STACKPROT) -FFLAGS_FOR_NEWLIB = -m64 -mtls-direct-seg-refs -mno-red-zone -O3 -mavx2 -mfma -mtune=intel +CFLAGS_FOR_NEWLIB = -m64 -mtls-direct-seg-refs -mno-red-zone -O3 -march=native -mtune=native -ftree-vectorize $(STACKPROT) +FFLAGS_FOR_NEWLIB = -m64 -mtls-direct-seg-refs -mno-red-zone -O3 -march=native -mtune=native -ftree-vectorize CXXFLAGS_FOR_NEWLIB = LDFLAGS_FOR_NEWLIB = NASMFLAGS_FOR_NEWLIB = -felf64