Skip to content

Commit

Permalink
curl-cmake.sh: cleanup the way an OS-suffix set [ci skip]
Browse files Browse the repository at this point in the history
This depends on upstream PR: curl/curl#8919
  • Loading branch information
vszakats committed May 25, 2022
1 parent 078f59b commit b1fbd8a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions curl-cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,7 @@ _VER="$1"
CURL_LDFLAG_EXTRAS="${CURL_LDFLAG_EXTRAS} -Wl,--high-entropy-va"
fi

# FIXME: Improve this ugly solution to include the CPU in the OS string
# [ "${_CPU}" = 'x86' ] && _CFLAGS="${_CFLAGS} -DOS=Windows-x86 -Wno-macro-redefined"
# [ "${_CPU}" = 'x64' ] && _CFLAGS="${_CFLAGS} -DOS=Windows-x64 -Wno-macro-redefined"
[ "${_CPU}" = 'x86' ] && options="${options} -DCURL_OS=Windows-x86"
[ "${_CPU}" = 'x64' ] && options="${options} -DCURL_OS=Windows-x64"
options="${options} -DCURL_OS_SUFFIX=${_CPU}"

# Disabled till we flesh out UNICODE support and document it enough to be
# safe to use.
Expand Down

0 comments on commit b1fbd8a

Please sign in to comment.