summaryrefslogtreecommitdiff
path: root/libs/rocm-hipamd/fix-hipcc-no-stdcxxfs.awk
diff options
context:
space:
mode:
Diffstat (limited to 'libs/rocm-hipamd/fix-hipcc-no-stdcxxfs.awk')
-rw-r--r--libs/rocm-hipamd/fix-hipcc-no-stdcxxfs.awk6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/rocm-hipamd/fix-hipcc-no-stdcxxfs.awk b/libs/rocm-hipamd/fix-hipcc-no-stdcxxfs.awk
new file mode 100644
index 0000000..eddf94d
--- /dev/null
+++ b/libs/rocm-hipamd/fix-hipcc-no-stdcxxfs.awk
@@ -0,0 +1,6 @@
+/set\(ADDITIONAL_SHARED_LIBRARIES_TO_LINK/ {
+ print "set(ADDITIONAL_SHARED_LIBRARIES_TO_LINK)"
+ getline
+ next
+}
+{ print }