From d7afdf9137b8b14fee4cf548ebbed294a1a73112 Mon Sep 17 00:00:00 2001 From: Paul Osmialowski Date: Sat, 27 May 2017 06:23:58 +0100 Subject: [PATCH] build: Flang has the same interface as PGI Signed-off-by: Paul Osmialowski --- common_x86_64.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common_x86_64.h b/common_x86_64.h index 11937b415..bee88d3ce 100644 --- a/common_x86_64.h +++ b/common_x86_64.h @@ -245,6 +245,10 @@ static __inline int blas_quickdivide(unsigned int x, unsigned int y){ #define RETURN_BY_STACK #endif +#ifdef F_INTERFACE_FLANG +#define RETURN_BY_STACK +#endif + #ifdef F_INTERFACE_PGI #define RETURN_BY_STACK #endif