aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2026-04-14 04:43:29 +0200
committerNIIBE Yutaka <[email protected]>2026-04-14 04:43:29 +0200
commit98660a48161adcede916c52fbef6cae6d5ccb0f0 (patch)
tree802dbf3efc1aed61737816dd8f952a4e16505dfb /src
parentautogen.sh: fixed typo (diff)
downloadlibgpg-error-98660a48161adcede916c52fbef6cae6d5ccb0f0.tar.gz
libgpg-error-98660a48161adcede916c52fbef6cae6d5ccb0f0.zip
build:cross: Remove section name to dump.
* src/gen-lock-obj.sh: Don't specify section name. -- It may be .bss.mtx depending to a toolchain. Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/gen-lock-obj.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gen-lock-obj.sh b/src/gen-lock-obj.sh
index 6e78c5f..a8d9352 100755
--- a/src/gen-lock-obj.sh
+++ b/src/gen-lock-obj.sh
@@ -73,7 +73,7 @@ pthread_mutex_t mtx = PTHREAD_MUTEX_INITIALIZER;
EOF
if $CC -c conftest.$ac_ext; then :
- ac_mtx_size=$($OBJDUMP -j .bss -t conftest.$ac_objext \
+ ac_mtx_size=$($OBJDUMP -t conftest.$ac_objext \
| $AWK $AWK_OPTION '
/mtx$/ { mtx_size = int("0x" $5) }
END { print mtx_size }')