mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-29 15:44:03 +00:00
[tools-libelf] Add latest version.
Add libelf 0.8.11, propagate patchset from 0.8.10.
This commit is contained in:
parent
4892bbc726
commit
8f375a1411
@ -13,6 +13,10 @@ config LIBELF_V_0_8_10
|
||||
bool
|
||||
prompt "0.8.10"
|
||||
|
||||
config LIBELF_V_0_8_11
|
||||
bool
|
||||
prompt "0.8.11"
|
||||
|
||||
# CT_INSERT_VERSION_ABOVE
|
||||
# Don't remove above line!
|
||||
endchoice
|
||||
@ -20,5 +24,6 @@ endchoice
|
||||
config LIBELF_VERSION
|
||||
string
|
||||
default "0.8.10" if LIBELF_V_0_8_10
|
||||
default "0.8.11" if LIBELF_V_0_8_11
|
||||
# CT_INSERT_VERSION_STRING_ABOVE
|
||||
# Don't remove above line!
|
||||
|
24
patches/libelf/0.8.11/100-fix-64-bit-detection.patch
Normal file
24
patches/libelf/0.8.11/100-fix-64-bit-detection.patch
Normal file
@ -0,0 +1,24 @@
|
||||
diff -dur libelf-0.8.10.orig/configure libelf-0.8.10/configure
|
||||
--- libelf-0.8.10.orig/configure 2007-09-07 14:08:06.000000000 +0200
|
||||
+++ libelf-0.8.10/configure 2008-10-23 22:43:19.000000000 +0200
|
||||
@@ -1595,7 +1595,7 @@
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
if test "$cross_compiling" = yes; then
|
||||
- ac_cv_sizeof_long_long=0
|
||||
+ ac_cv_sizeof_long_long=8
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1602 "configure"
|
||||
diff -dur libelf-0.8.10.orig/configure.in libelf-0.8.10/configure.in
|
||||
--- libelf-0.8.10.orig/configure.in 2007-09-07 14:07:59.000000000 +0200
|
||||
+++ libelf-0.8.10/configure.in 2008-10-23 22:43:10.000000000 +0200
|
||||
@@ -90,7 +90,7 @@
|
||||
AC_CHECK_SIZEOF(short,2)
|
||||
AC_CHECK_SIZEOF(int,4)
|
||||
AC_CHECK_SIZEOF(long,4)
|
||||
-AC_CHECK_SIZEOF(long long,0)
|
||||
+AC_CHECK_SIZEOF(long long,8)
|
||||
# Windows port
|
||||
AC_CHECK_SIZEOF(__int64, 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user