From 5973ec7135e0f49a21046ec849e66d1aeace9d0c Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Sat, 14 May 2016 16:20:32 +0200 Subject: [PATCH] add FCFLAGS to build libgfortran without red zone support --- hermit/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hermit/Makefile b/hermit/Makefile index a91940369..5a358473f 100644 --- a/hermit/Makefile +++ b/hermit/Makefile @@ -42,6 +42,7 @@ RM = rm -rf OUTPUT_FORMAT = -O elf64-x86-64-hermit CFLAGS_FOR_NEWLIB = -m64 -mtls-direct-seg-refs -mno-red-zone -O3 -march=native -mtune=native -ftree-vectorize $(STACKPROT) +FCFLAGS_FOR_NEWLIB = -m64 -mtls-direct-seg-refs -mno-red-zone -O3 -march=native -mtune=native -ftree-vectorize FFLAGS_FOR_NEWLIB = -m64 -mtls-direct-seg-refs -mno-red-zone -O3 -march=native -mtune=native -ftree-vectorize CXXFLAGS_FOR_NEWLIB = -m64 -mtls-direct-seg-refs -mno-red-zone -O3 -march=native -mtune=native -ftree-vectorize LDFLAGS_FOR_NEWLIB = @@ -66,6 +67,8 @@ toolchain: LDFLAGS_FOR_TARGET="$(LDFLAGS_FOR_NEWLIB)" \ CFLAGS_FOR_TARGET="$(CFLAGS_FOR_NEWLIB)" \ FFLAGS_FOR_TARGET="$(FFLAGS_FOR_NEWLIB)" \ + FCFLAGS_FOR_TARGET="$(FCFLAGS_FOR_NEWLIB)" \ + FCFLAGS="$(FCFLAGS_FOR_NEWLIB)" \ CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_NEWLIB)" \ NASMFLAGS="$(NASMFLAGS_FOR_NEWLIB)" \ CC_FOR_TARGET=$(CC_FOR_TARGET) \