You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/elfutils/files/elfutils-0.177-disable-larg...

15 lines
383 B

getconf does not disable test on 64-kernel with CFLAGS=-m32
--- a/tests/run-large-elf-file.sh
+++ b/tests/run-large-elf-file.sh
@@ -19,6 +19,10 @@
# Only run on 64bit systems, 32bit systems don't support > 4GB
# ELF files.
+
+# this detection fails for 64-bit systems with -m32
+exit 77
+
long_bit=$(getconf LONG_BIT)
echo "long_bit: $long_bit"
if test $long_bit -ne 64; then