diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2020-04-17 11:58:48 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2020-04-17 11:58:48 +0200 |
commit | 7de516c1fa86658f184abf44c7e710e328344d33 (patch) | |
tree | 39b30c84d34e2a31e911c747dac030f854137e21 /extra | |
parent | 5a8ba0f290663e6a9a4a8380a2d89cdfdaa3e490 (diff) | |
download | packages-7de516c1fa86658f184abf44c7e710e328344d33.tar.xz |
extra/amdvlk: added patching for 32-bit builds
Diffstat (limited to 'extra')
-rw-r--r-- | extra/amdvlk/PKGBUILD | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/extra/amdvlk/PKGBUILD b/extra/amdvlk/PKGBUILD new file mode 100644 index 00000000..8c10a1e1 --- /dev/null +++ b/extra/amdvlk/PKGBUILD @@ -0,0 +1,17 @@ +eval "$( + declare -f build \ + | sed ' + s|-Bbuilds/Release64|-Bbuilds/Release| + s|cmake|cmake -DCMAKE_C_FLAGS=-m32 -DCMAKE_CSS_FLAGS=-m32| + s|Release64|Release|g + ' +)" + +eval "$( + declare -f package \ + | sed ' + s|Release64|Release|g + s|amdvlk64.so|amdvlk32.so|g + s|amd_icd64.json|amd_icd32.json| + ' +)" |