@@ -496,7 +496,7 @@ if [ "$os_type" = "Linux" ]; then
496496 bin_path_unsanitized=" $tmp_path_unsanitized /gcc/bin/release/linux/x64/libebm"
497497 bin_file=" libebm_linux_x64.so"
498498 g_log_file_unsanitized=" $obj_path_unsanitized /libebm_release_linux_x64_build_log.txt"
499- both_args_extra=" -m64 -DNDEBUG -O3 -Wl,--wrap=memcpy -Wl,--wrap=exp -Wl,--wrap=log -Wl,--wrap=log2,--wrap=pow"
499+ both_args_extra=" -m64 -DNDEBUG -O3 -Wl,--wrap=memcpy -Wl,--wrap=exp -Wl,--wrap=log -Wl,--wrap=log2,--wrap=pow,--wrap=expf,--wrap=logf "
500500 c_args_specific=" $c_args $both_args $both_args_extra "
501501 cpp_args_specific=" $cpp_args $both_args $both_args_extra "
502502 # the linker wants to have the most dependent .o/.so/.dylib files listed FIRST
@@ -527,7 +527,7 @@ if [ "$os_type" = "Linux" ]; then
527527 bin_path_unsanitized=" $tmp_path_unsanitized /gcc/bin/debug/linux/x64/libebm"
528528 bin_file=" libebm_linux_x64_debug.so"
529529 g_log_file_unsanitized=" $obj_path_unsanitized /libebm_debug_linux_x64_build_log.txt"
530- both_args_extra=" -m64 -O1 -Wl,--wrap=memcpy -Wl,--wrap=exp -Wl,--wrap=log -Wl,--wrap=log2,--wrap=pow"
530+ both_args_extra=" -m64 -O1 -Wl,--wrap=memcpy -Wl,--wrap=exp -Wl,--wrap=log -Wl,--wrap=log2,--wrap=pow,--wrap=expf,--wrap=logf "
531531 c_args_specific=" $c_args $both_args $both_args_extra "
532532 cpp_args_specific=" $cpp_args $both_args $both_args_extra "
533533 # the linker wants to have the most dependent .o/.so/.dylib files listed FIRST
0 commit comments