Skip to content
Snippets Groups Projects
Commit cb8eaaa8 authored by Jan Tattermusch's avatar Jan Tattermusch
Browse files

fix grpcio_tools build on kokoro

parent a2eb6f7e
No related branches found
No related tags found
No related merge requests found
...@@ -62,9 +62,9 @@ if EXTRA_ENV_COMPILE_ARGS is None: ...@@ -62,9 +62,9 @@ if EXTRA_ENV_COMPILE_ARGS is None:
# envvars) without adding yet more GRPC-specific envvars. # envvars) without adding yet more GRPC-specific envvars.
# See https://sourceforge.net/p/mingw-w64/bugs/363/ # See https://sourceforge.net/p/mingw-w64/bugs/363/
if '32' in platform.architecture()[0]: if '32' in platform.architecture()[0]:
EXTRA_ENV_COMPILE_ARGS += ' -D_ftime=_ftime32 -D_timeb=__timeb32 -D_ftime_s=_ftime32_s' EXTRA_ENV_COMPILE_ARGS += ' -D_ftime=_ftime32 -D_timeb=__timeb32 -D_ftime_s=_ftime32_s -D_hypot=hypot'
else: else:
EXTRA_ENV_COMPILE_ARGS += ' -D_ftime=_ftime64 -D_timeb=__timeb64' EXTRA_ENV_COMPILE_ARGS += ' -D_ftime=_ftime64 -D_timeb=__timeb64 -D_hypot=hypot'
else: else:
# We need to statically link the C++ Runtime, only the C runtime is # We need to statically link the C++ Runtime, only the C runtime is
# available dynamically # available dynamically
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment