From 7689f421fda5f4bf704109f5f56ef805e4aa6de3 Mon Sep 17 00:00:00 2001 From: nanake Date: Sat, 3 Sep 2022 10:52:46 +0900 Subject: [PATCH] libssh: remove workaround fixed as https://git.libssh.org/projects/libssh.git/commit/?id=17aec429f539517468446191e3da91df40e352d1 Signed-off-by: nanake --- scripts.d/50-libssh.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/scripts.d/50-libssh.sh b/scripts.d/50-libssh.sh index 31ea81c..b4415ec 100755 --- a/scripts.d/50-libssh.sh +++ b/scripts.d/50-libssh.sh @@ -13,11 +13,6 @@ ffbuild_dockerbuild() { mkdir build && cd build - if [[ $TARGET == win* ]]; then - export CFLAGS="$CFLAGS -Dgettimeofday=ssh_gettimeofday" - export CXXFLAGS="$CFLAGS -Dgettimeofday=ssh_gettimeofday" - fi - cmake -GNinja -DCMAKE_TOOLCHAIN_FILE="$FFBUILD_CMAKE_TOOLCHAIN" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$FFBUILD_PREFIX" \ -DBUILD_SHARED_LIBS=OFF \ -DWITH_EXAMPLES=OFF -DWITH_SERVER=OFF \