Skip to content

Commit ce469ba

Browse files
committed
OpenCL should no longer need DllMain workaround
1 parent f1a73ce commit ce469ba

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

scripts.d/45-opencl.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ ffbuild_dockerbuild() {
2222
cd loader
2323
mkdir build && cd build
2424

25-
export CFLAGS="$CFLAGS -DDllMain=OpenCL_DllMain"
26-
2725
cmake -DCMAKE_TOOLCHAIN_FILE="$FFBUILD_CMAKE_TOOLCHAIN" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$FFBUILD_PREFIX" \
2826
-DOPENCL_ICD_LOADER_HEADERS_DIR="$FFBUILD_DESTPREFIX"/include -DOPENCL_ICD_LOADER_BUILD_SHARED_LIBS=OFF \
2927
-DOPENCL_ICD_LOADER_DISABLE_OPENCLON12=ON -DOPENCL_ICD_LOADER_PIC=ON \

0 commit comments

Comments
 (0)