1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-22 20:44:19 +00:00

The ATI stream / AMD APP SDK environment variables appear to only interfere with win32 builds so bypass them.

This commit is contained in:
Con Kolivas 2012-10-22 22:52:27 +11:00
parent 6d3c880a25
commit d2e87254ea

View File

@ -98,20 +98,23 @@ case $target in
;; ;;
esac esac
if test "x$have_x86_64" = xtrue; then
ARCH_DIR=x86_64
else
ARCH_DIR=x86
fi
if test "x$ATISTREAMSDKROOT" != x; then if test "x$have_win32" != xtrue; then
OPENCL_FLAGS="-I$ATISTREAMSDKROOT/include $OPENCL_FLAGS" if test "x$have_x86_64" = xtrue; then
OPENCL_LIBS="-L$ATISTREAMSDKROOT/lib/$ARCH_DIR $OPENCL_LIBS" ARCH_DIR=x86_64
fi else
ARCH_DIR=x86
fi
if test "x$AMDAPPSDKROOT" != x; then if test "x$ATISTREAMSDKROOT" != x; then
OPENCL_FLAGS="-I$AMDAPPSDKROOT/include $OPENCL_FLAGS" OPENCL_FLAGS="-I$ATISTREAMSDKROOT/include $OPENCL_FLAGS"
OPENCL_LIBS="-L$AMDAPPSDKROOT/lib/$ARCH_DIR $OPENCL_LIBS" OPENCL_LIBS="-L$ATISTREAMSDKROOT/lib/$ARCH_DIR $OPENCL_LIBS"
fi
if test "x$AMDAPPSDKROOT" != x; then
OPENCL_FLAGS="-I$AMDAPPSDKROOT/include $OPENCL_FLAGS"
OPENCL_LIBS="-L$AMDAPPSDKROOT/lib/$ARCH_DIR $OPENCL_LIBS"
fi
fi fi
cpumining="no" cpumining="no"