From 2be8b68c1b16d30076118eb7326125764a7f53fa Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Sat, 22 Dec 2018 08:20:01 -0500 Subject: Fix build with PGI [ci skip] I couldn't get anything to link with PGI, but at least it builds again. --- src/build-data/cc/pgi.txt | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/build-data/cc/pgi.txt b/src/build-data/cc/pgi.txt index 5ec658628..cc5245638 100644 --- a/src/build-data/cc/pgi.txt +++ b/src/build-data/cc/pgi.txt @@ -1,11 +1,13 @@ -macro_name PORTLAND_GROUP +macro_name PGI -binary_name pgCC +binary_name pgc++ -optimization_flags "-fast -Minline" +optimization_flags "-O3" shared_flags "-fPIC" +visibility_build_flags "-fvisibility=hidden" +visibility_attribute '__attribute__((visibility("default")))' + -linux -> "$(CXX) -shared -fPIC -Wl,-soname,{soname_abi}" -solaris -> "$(CXX) -G -fPIC -Wl,-h,{soname_abi}" +default -> "$(CXX) -shared -fPIC -Wl,-soname,{soname_abi}" -- cgit v1.2.3