vc: don't manually set CMAKE_SYSTEM_PROCESSOR
This commit is contained in:
parent
b552a5f05d
commit
c039282afb
1 changed files with 0 additions and 8 deletions
|
@ -14,17 +14,9 @@ checksum=e6cfc056eb3a72a57751e768ba63236ebf2711d267fbd1dc0acfee0ac16fdf68
|
|||
|
||||
# CMAKE_SYSTEM_PROCESSOR isn’t set when cross compiling
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
x86_64*) configure_args+=" -DCMAKE_SYSTEM_PROCESSOR=amd64";;
|
||||
i686*) configure_args+=" -DCMAKE_SYSTEM_PROCESSOR=x86";;
|
||||
aarch64*) configure_args+=" -DCMAKE_SYSTEM_PROCESSOR=aarch64";;
|
||||
arm*) configure_args+=" -DCMAKE_SYSTEM_PROCESSOR=arm";;
|
||||
mips*) broken="No optimized implementation of the Vc types available";;
|
||||
esac
|
||||
|
||||
post_extract() {
|
||||
sed -i -e "s/(x86|AMD64|amd64)/(i686|x86|AMD64|amd64)/" CMakeLists.txt
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue