diff options
| author | kx <kx@radix-linux.su> | 2026-10-09 18:00:15 +0300 |
|---|---|---|
| committer | kx <kx@radix-linux.su> | 2026-10-09 18:00:15 +0300 |
| commit | 065da3509019b15dd0e678072e6be629e5330bef (patch) | |
| tree | 69c934c9e786ac048b4fbe8f4c4c5571661521f4 /config/patches | |
| parent | d130fe27fa753be02ed76fd9b277aa3c3d928eb9 (diff) | |
| download | libmcpu-0.4.0.tar.xz | |
Version 0.4.00.4.0
Diffstat (limited to 'config/patches')
| -rw-r--r-- | config/patches/libtool.m4-shared.patch | 20 | ||||
| -rw-r--r-- | config/patches/libtool.m4.patch | 15 |
2 files changed, 35 insertions, 0 deletions
diff --git a/config/patches/libtool.m4-shared.patch b/config/patches/libtool.m4-shared.patch new file mode 100644 index 0000000..9389d02 --- /dev/null +++ b/config/patches/libtool.m4-shared.patch @@ -0,0 +1,20 @@ +--- m4-orig/libtool.m4 2026-06-07 17:43:33.877209247 +0300 ++++ m4/libtool.m4 2026-06-07 17:45:22.508205160 +0300 +@@ -4998,7 +4998,7 @@ + _LT_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + *) +- _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])" ++ _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC -DSHARED],[m4_if([$1],[CXX],[ -DPIC -DSHARED],[])])" + ;; + esac + +@@ -5013,7 +5013,7 @@ + if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then + _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works], + [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)], +- [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [], ++ [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC -DSHARED],[m4_if([$1],[CXX],[ -DPIC -DSHARED],[])])], [], + [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in + "" | " "*) ;; + *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;; diff --git a/config/patches/libtool.m4.patch b/config/patches/libtool.m4.patch new file mode 100644 index 0000000..eba3758 --- /dev/null +++ b/config/patches/libtool.m4.patch @@ -0,0 +1,15 @@ +--- m4-orig/libtool.m4 2026-06-07 17:38:21.701220990 +0300 ++++ m4/libtool.m4 2026-06-07 17:39:59.924217295 +0300 +@@ -3374,12 +3374,6 @@ + m4_require([_LT_DECL_EGREP])dnl + m4_require([_LT_PROG_ECHO_BACKSLASH])dnl + +-AC_ARG_WITH([gnu-ld], +- [AS_HELP_STRING([--with-gnu-ld], +- [assume the C compiler uses GNU ld @<:@default=no@:>@])], +- [test no = "$withval" || with_gnu_ld=yes], +- [with_gnu_ld=no])dnl +- + ac_prog=ld + if test yes = "$GCC"; then + # Check if gcc -print-prog-name=ld gives a path. |
