mesa: add patch to fix linking errors on 32bit
ld: error: undefined symbol: __aeabi_uidivmod >>> referenced by fakeglx.c >>> .libs/fakeglx.o:(Fake_glXWaitVideoSyncSGI) >>> referenced by bufferobj.c >>> bufferobj.o:(buffer_page_commitment) in archive ../../../../src/mesa/.libs/libmesa.a >>> referenced by bufferobj.c >>> bufferobj.o:(buffer_page_commitment) in archive ../../../../src/mesa/.libs/libmesa.a >>> referenced 80 more times
This commit is contained in:
parent
6fe2a020bc
commit
711c8e821b
|
@ -32,6 +32,9 @@ ac_cv_header_xlocale_h=no
|
|||
|
||||
termux_step_pre_configure() {
|
||||
export LIBS="-landroid-shmem -latomic"
|
||||
aclocal
|
||||
automake
|
||||
autoconf
|
||||
}
|
||||
|
||||
termux_step_post_massage() {
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
diff -uNr mesa-17.3.9/m4/libtool.m4 mesa-17.3.9.mod/m4/libtool.m4
|
||||
--- mesa-17.3.9/m4/libtool.m4 2018-04-18 11:44:05.000000000 +0300
|
||||
+++ mesa-17.3.9.mod/m4/libtool.m4 2021-11-06 20:20:39.088856120 +0200
|
||||
@@ -6405,8 +6405,8 @@
|
||||
# Check if GNU C++ uses GNU ld as the underlying linker, since the
|
||||
# archiving commands below assume that GNU ld is being used.
|
||||
if test yes = "$with_gnu_ld"; then
|
||||
- _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
|
||||
- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
|
||||
+ _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
|
||||
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
|
||||
|
||||
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
|
||||
_LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
|
Loading…
Reference in New Issue