From: Matt Corallo Date: Wed, 24 Mar 2021 15:24:09 +0000 (-0400) Subject: Map file paths in debug info to make debug libs path-independent X-Git-Tag: v0.0.98~6^2~3 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=4c2de1e1194e19bd883b7623be024638277a2a1b;p=ldk-java Map file paths in debug info to make debug libs path-independent --- diff --git a/genbindings.sh b/genbindings.sh index 5ca73190..50c5f1b3 100755 --- a/genbindings.sh +++ b/genbindings.sh @@ -11,9 +11,9 @@ usage() { [ "$4" != "true" -a "$4" != "false" ] && usage if [ "$CC" != "" ]; then - COMMON_COMPILE="$CC -std=c11 -Wall -Wextra -Wno-unused-parameter -Wno-ignored-qualifiers -Wno-unused-function -Wno-nullability-completeness -Wno-pointer-sign" + 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)=" else - COMMON_COMPILE="clang -std=c11 -Wall -Wextra -Wno-unused-parameter -Wno-ignored-qualifiers -Wno-unused-function -Wno-nullability-completeness -Wno-pointer-sign" + COMMON_COMPILE="clang -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)=" fi set -e