mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-10 14:04:16 +00:00
Fix configure.ac for 64bit OSX builds
This commit is contained in:
parent
31d98cf167
commit
1f3074d2ff
16
configure.ac
16
configure.ac
@ -29,22 +29,24 @@ have_win32=false
|
||||
PTHREAD_FLAGS="-pthread"
|
||||
OPENCL_FLAGS="-lOpenCL"
|
||||
|
||||
case $target in
|
||||
x86_64-*)
|
||||
have_x86_64=true
|
||||
;;
|
||||
*)
|
||||
have_x86_64=false
|
||||
;;
|
||||
esac
|
||||
|
||||
case $target in
|
||||
*-*-mingw*)
|
||||
have_x86_64=false
|
||||
have_win32=true
|
||||
PTHREAD_FLAGS=""
|
||||
;;
|
||||
x86_64-*)
|
||||
have_x86_64=true
|
||||
;;
|
||||
*-*-darwin*)
|
||||
have_x86_64=false
|
||||
OPENCL_FLAGS="-framework OpenCL"
|
||||
;;
|
||||
*)
|
||||
have_x86_64=false
|
||||
;;
|
||||
esac
|
||||
|
||||
# Check for OpenCL (the long way needed on mingw32 due to calling conventions)
|
||||
|
Loading…
x
Reference in New Issue
Block a user