diff options
author | Jack Lloyd <[email protected]> | 2018-12-22 08:20:01 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-12-22 08:20:01 -0500 |
commit | 2be8b68c1b16d30076118eb7326125764a7f53fa (patch) | |
tree | 79fb07c3c10c784b412020aecb31e58f385b462a | |
parent | a852cd66690c7f764680da37282685edf43fcd0b (diff) |
Fix build with PGI [ci skip]
I couldn't get anything to link with PGI, but at least it builds again.
-rw-r--r-- | src/build-data/cc/pgi.txt | 12 |
1 files 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")))' + <so_link_commands> -linux -> "$(CXX) -shared -fPIC -Wl,-soname,{soname_abi}" -solaris -> "$(CXX) -G -fPIC -Wl,-h,{soname_abi}" +default -> "$(CXX) -shared -fPIC -Wl,-soname,{soname_abi}" </so_link_commands> |