1
0

patch-libtool 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. --- alsa-lib-1.0.27.2.orig/libtool 2013-07-08 14:32:53.000000000 +0200
  2. +++ alsa-lib-1.0.27.2/libtool 2013-12-30 17:42:30.000000000 +0100
  3. @@ -1,8 +1,8 @@
  4. -#! /bin/sh
  5. +#! /bin/bash
  6. # libtool - Provide generalized library-building support services.
  7. # Generated automatically by config.status (alsa-lib) 1.0.27.2
  8. -# Libtool was configured on host alsa.alsa-project.org:
  9. +# Libtool was configured on host helium:
  10. # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  11. #
  12. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  13. @@ -40,7 +40,7 @@ available_tags=""
  14. # ### BEGIN LIBTOOL CONFIG
  15. # Whether or not to build static libraries.
  16. -build_old_libs=no
  17. +build_old_libs=yes
  18. # Which release of libtool.m4 was used?
  19. macro_version=2.4.2
  20. @@ -56,7 +56,7 @@ pic_mode=default
  21. fast_install=yes
  22. # Shell to use when invoking shell scripts.
  23. -SHELL="/bin/sh"
  24. +SHELL="/bin/bash"
  25. # An echo program that protects backslashes.
  26. ECHO="printf %s\\n"
  27. @@ -65,38 +65,38 @@ ECHO="printf %s\\n"
  28. PATH_SEPARATOR=":"
  29. # The host system.
  30. -host_alias=
  31. -host=x86_64-unknown-linux-gnu
  32. +host_alias=i686-openadk-linux
  33. +host=i686-openadk-linux-gnu
  34. host_os=linux-gnu
  35. # The build system.
  36. -build_alias=
  37. -build=x86_64-unknown-linux-gnu
  38. +build_alias=x86_64-linux-gnu
  39. +build=x86_64-pc-linux-gnu
  40. build_os=linux-gnu
  41. # A sed program that does not truncate output.
  42. -SED="/usr/bin/sed"
  43. +SED="/home/wbx/ibmx40/scripts/sed"
  44. # Sed that helps us avoid accidentally triggering echo(1) options like -n.
  45. Xsed="$SED -e 1s/^X//"
  46. # A grep program that handles long lines.
  47. -GREP="/usr/bin/grep"
  48. +GREP="/bin/grep"
  49. # An ERE matcher.
  50. -EGREP="/usr/bin/grep -E"
  51. +EGREP="/bin/grep -E"
  52. # A literal string matcher.
  53. -FGREP="/usr/bin/grep -F"
  54. +FGREP="/bin/grep -F"
  55. # A BSD- or MS-compatible name lister.
  56. -NM="/usr/bin/nm -B"
  57. +NM="/home/wbx/ibmx40/host_i686_musl_musl/bin/i686-openadk-linux-musl-nm"
  58. # Whether we need soft or hard links.
  59. LN_S="ln -s"
  60. # What is the maximum length of a command?
  61. -max_cmd_len=1572864
  62. +max_cmd_len=3458764513820540925
  63. # Object file suffix (normally "o").
  64. objext=o
  65. @@ -120,7 +120,7 @@ to_host_file_cmd=func_convert_file_noop
  66. to_tool_file_cmd=func_convert_file_noop
  67. # An object symbol dumper.
  68. -OBJDUMP="objdump"
  69. +OBJDUMP="i686-openadk-linux-objdump"
  70. # Method to check whether dependent libraries are shared objects.
  71. deplibs_check_method="pass_all"
  72. @@ -141,7 +141,7 @@ DLLTOOL="false"
  73. sharedlib_from_linklib_cmd="printf %s\\n"
  74. # The archiver.
  75. -AR="ar"
  76. +AR="/home/wbx/ibmx40/host_i686_musl_musl/bin/i686-openadk-linux-musl-ar"
  77. # Flags to create an archive.
  78. AR_FLAGS="cru"
  79. @@ -150,10 +150,10 @@ AR_FLAGS="cru"
  80. archiver_list_spec="@"
  81. # A symbol stripping program.
  82. -STRIP="strip"
  83. +STRIP="/home/wbx/ibmx40/host_i686_musl_musl/bin/i686-openadk-linux-musl-strip"
  84. # Commands used to install an old-style archive.
  85. -RANLIB="ranlib"
  86. +RANLIB="/home/wbx/ibmx40/host_i686_musl_musl/bin/i686-openadk-linux-musl-ranlib"
  87. old_postinstall_cmds="chmod 644 \$oldlib~\$RANLIB \$tool_oldlib"
  88. old_postuninstall_cmds=""
  89. @@ -161,10 +161,10 @@ old_postuninstall_cmds=""
  90. lock_old_archive_extraction=no
  91. # A C compiler.
  92. -LTCC="gcc"
  93. +LTCC="/home/wbx/ibmx40/host_i686_musl_musl/bin/i686-openadk-linux-musl-gcc"
  94. # LTCC compiler flags.
  95. -LTCFLAGS="-O2 -fomit-frame-pointer -Wall -pipe -D_GNU_SOURCE"
  96. +LTCFLAGS="-march=pentium-m -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -fno-unwind-tables -fno-asynchronous-unwind-tables -g3 -D_GNU_SOURCE"
  97. # Take the output of nm and produce a listing of raw symbols and C names.
  98. global_symbol_pipe="sed -n -e 's/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p' | sed '/ __gnu_lto/d'"
  99. @@ -272,27 +272,27 @@ finish_eval=""
  100. hardcode_into_libs=yes
  101. # Compile-time system search path for libraries.
  102. -sys_lib_search_path_spec="/usr/lib/gcc/x86_64-redhat-linux/4.7.2 /usr/lib64 /lib64 "
  103. +sys_lib_search_path_spec="/home/wbx/ibmx40/host_i686_musl_musl/lib/gcc/i686-openadk-linux-musl/4.7.3 /home/wbx/ibmx40/host_i686_musl_musl/i686-openadk-linux-musl/lib /home/wbx/ibmx40/target_i686_musl_musl/lib /home/wbx/ibmx40/target_i686_musl_musl/usr/lib "
  104. # Run-time system search path for libraries.
  105. -sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib /usr/lib64/mysql /usr/lib64/qt-3.3/lib "
  106. +sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib /lib/i486-linux-gnu /usr/lib/i486-linux-gnu /usr/local/lib /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu "
  107. # Whether dlopen is supported.
  108. dlopen_support=yes
  109. # Whether dlopen of programs is supported.
  110. -dlopen_self=yes
  111. +dlopen_self=unknown
  112. # Whether dlopen of statically linked programs is supported.
  113. -dlopen_self_static=yes
  114. +dlopen_self_static=unknown
  115. # Commands to strip libraries.
  116. -old_striplib="strip --strip-debug"
  117. -striplib="strip --strip-unneeded"
  118. +old_striplib="/home/wbx/ibmx40/host_i686_musl_musl/bin/i686-openadk-linux-musl-strip --strip-debug"
  119. +striplib="/home/wbx/ibmx40/host_i686_musl_musl/bin/i686-openadk-linux-musl-strip --strip-unneeded"
  120. # The linker used to build libraries.
  121. -LD="/usr/bin/ld -m elf_x86_64"
  122. +LD="/home/wbx/ibmx40/host_i686_musl_musl/bin/i686-openadk-linux-musl-ld"
  123. # How to create reloadable object files.
  124. reload_flag=" -r"
  125. @@ -302,7 +302,7 @@ reload_cmds="\$LD\$reload_flag -o \$outp
  126. old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$tool_oldlib"
  127. # A language specific compiler.
  128. -CC="gcc"
  129. +CC="/home/wbx/ibmx40/host_i686_musl_musl/bin/i686-openadk-linux-musl-gcc"
  130. # Is the compiler the GNU compiler?
  131. with_gcc=yes
  132. @@ -317,7 +317,7 @@ pic_flag=" -fPIC -DPIC"
  133. wl="-Wl,"
  134. # Compiler flag to prevent dynamic linking.
  135. -link_static_flag=""
  136. +link_static_flag="-static"
  137. # Does compiler simultaneously support -c and -o options?
  138. compiler_c_o="yes"