diff options
| author | NIIBE Yutaka <[email protected]> | 2026-04-14 04:43:29 +0200 |
|---|---|---|
| committer | NIIBE Yutaka <[email protected]> | 2026-04-14 04:43:29 +0200 |
| commit | 98660a48161adcede916c52fbef6cae6d5ccb0f0 (patch) | |
| tree | 802dbf3efc1aed61737816dd8f952a4e16505dfb /src | |
| parent | autogen.sh: fixed typo (diff) | |
| download | libgpg-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-x | src/gen-lock-obj.sh | 2 |
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 }') |
