From 7231dd36d020c9290e5758d0abe9b7c984db48ad Mon Sep 17 00:00:00 2001 From: Philip Kovacs Date: Thu, 29 Aug 2019 23:12:32 -0400 Subject: [PATCH] Temp hack for F32 aarch64 until they fix gcc PIC flags --- openmpi.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/openmpi.spec b/openmpi.spec index 6502202..da5c4ca 100644 --- a/openmpi.spec +++ b/openmpi.spec @@ -6,7 +6,12 @@ # so uncomment and define to use #global opt_cflags %global opt_cxx g++ +%ifarch aarch64 +# TEMP: hack for F32 aarch64 until they fix gcc PIC flags +%global opt_cxxflags -fPIC +%else #global opt_cxxflags +%endif %global opt_f77 gfortran #global opt_fflags %global opt_fc gfortran