Skip to content

Commit

Permalink
addpatch: rocm-cmake 6.2.4-1
Browse files Browse the repository at this point in the history
Fix check by removing -fstack-clash-protection.
  • Loading branch information
hack3ric authored and felixonmars committed Dec 16, 2024
1 parent 415d162 commit 9a7d991
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions rocm-cmake/riscv64.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- PKGBUILD
+++ PKGBUILD
@@ -55,6 +55,8 @@ check() {
export GIT_AUTHOR_EMAIL="[email protected]"
export GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME"
export GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL"
+ export CFLAGS="${CFLAGS/-fstack-clash-protection}"
+ export CXXFLAGS="${CXXFLAGS/-fstack-clash-protection}"
cmake --build build --target check
}

0 comments on commit 9a7d991

Please sign in to comment.