Skip to content

Commit

Permalink
curl-cmake.sh: one more pre-fill fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Oct 17, 2023
1 parent 08d28e9 commit b4da5a0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions curl-cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,11 @@ _VER="$1"
fi

# fast-track configuration
options="${options} -DTHREADS_HAVE_PTHREAD_ARG=0 -DCMAKE_HAVE_LIBC_PTHREAD=0 -DCMAKE_HAVE_PTHREADS_CREATE=0 -DCMAKE_HAVE_PTHREAD_CREATE=0" # find_package(Threads)
options="${options} -DHAVE_STDATOMIC_H=1 -DHAVE_ATOMIC=1 -DHAVE_STRTOK_R=1"
options="${options} -DHAVE_FILE_OFFSET_BITS=1 -DHAVE_VARIADIC_MACROS_C99=1 -DHAVE_VARIADIC_MACROS_GCC=1"
if [ "${_OS}" = 'win' ]; then
options="${options} -DTHREADS_HAVE_PTHREAD_ARG=0 -DCMAKE_HAVE_LIBC_PTHREAD=0 -DCMAKE_HAVE_PTHREADS_CREATE=0 -DCMAKE_HAVE_PTHREAD_CREATE=0" # find_package(Threads)
options="${options} -DHAVE_STDATOMIC_H=1 -DHAVE_ATOMIC=1 -DHAVE_STRTOK_R=1"
options="${options} -DHAVE_FILE_OFFSET_BITS=1 -DHAVE_VARIADIC_MACROS_C99=1 -DHAVE_VARIADIC_MACROS_GCC=1"
fi

if [ -d ../wolfssl ]; then
[ -n "${mainssl}" ] || mainssl='wolfssl'
Expand Down

0 comments on commit b4da5a0

Please sign in to comment.