index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Tasos Sahanidis <tasos@tasossah.com> | 2019-11-29 20:46:20 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-12-02 19:54:31 +0100 |
commit | f1461973ae8a763015aaabb8f2f863fe27c39043 (patch) | |
tree | b33d1fcc0372d371d7ba6c398be5ba0fb1a161c0 | |
parent | 318dcea8838f95778a022f896a6d9ee879555999 (diff) |
-rw-r--r-- | extra/openal/PKGBUILD | 22 |
diff --git a/extra/openal/PKGBUILD b/extra/openal/PKGBUILD new file mode 100644 index 00000000..6c8ed3c2 --- /dev/null +++ b/extra/openal/PKGBUILD @@ -0,0 +1,22 @@ +if [ "$CARCH" = 'pentium4' ]; then + eval "$( + declare -f build | \ + sed ' + s@cmake@cmake -DALSOFT_CPUEXT_SSE3=0 -DALSOFT_CPUEXT_SSE4_1=0@ + ' + )" +elif [ "$CARCH" = 'i686' ]; then + eval "$( + declare -f build | \ + sed ' + s@cmake@cmake -DALSOFT_ENABLE_SSE2_CODEGEN=0 -DALSOFT_CPUEXT_SSE2=0@ + ' + )" +elif [ "$CARCH" = 'i486' ]; then + eval "$( + declare -f build | \ + sed ' + s@cmake@cmake -DALSOFT_CPUEXT_SSE=0 -DALSOFT_ENABLE_SSE_CODEGEN=0 -DALSOFT_ENABLE_SSE2_CODEGEN=0@ + ' + )" +fi |