aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc/pgi.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/build-data/cc/pgi.txt')
-rw-r--r--src/build-data/cc/pgi.txt12
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>