From: Matt Corallo Date: Wed, 13 Mar 2024 22:08:47 +0000 (+0000) Subject: Fix typo introduced in 2dc5209c398ec23e5ce4f2a287bb55c33c681811 X-Git-Tag: v0.0.121.3~1^2 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=fb9e208630a5fb7365d6230c1bc1e18b822a3db0;p=ldk-java Fix typo introduced in 2dc5209c398ec23e5ce4f2a287bb55c33c681811 --- diff --git a/genbindings.sh b/genbindings.sh index 897f1d62..5fc58821 100755 --- a/genbindings.sh +++ b/genbindings.sh @@ -81,7 +81,7 @@ fi COMMON_COMPILE="$CC -std=c11 -Wall -Wextra -Wno-unused-parameter -Wno-ignored-qualifiers -Wno-unused-function -Wno-nullability-completeness -Wno-pointer-sign -Wdate-time -ffile-prefix-map=$(pwd)=" COMMON_CC="" -if [[ "$TARGET_STRING != *"android" ]]; then +if [[ "$TARGET_STRING" != *"android" ]]; then [[ "$TARGET_STRING" != "x86"* ]] && COMMON_CC="$COMMON_CC --target=$TARGET_STRING -mcpu=$LDK_TARGET_CPU" [[ "$TARGET_STRING" = "x86"* ]] && COMMON_CC="$COMMON_CC --target=$TARGET_STRING -march=$LDK_TARGET_CPU -mtune=$LDK_TARGET_CPU" fi