initial import from Debian
version: 14.3.0-5 commit: bee30ab0fff2fd6af94c62376c8aa4221bb831e0
This commit is contained in:
19
debian/patches/libgo-setcontext-config.diff
vendored
Normal file
19
debian/patches/libgo-setcontext-config.diff
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
# DP: libgo: Overwrite the setcontext_clobbers_tls check on mips*
|
||||
|
||||
--- a/src/libgo/configure.ac
|
||||
+++ b/src/libgo/configure.ac
|
||||
@@ -802,6 +802,14 @@ main ()
|
||||
CFLAGS="$CFLAGS_hold"
|
||||
LIBS="$LIBS_hold"
|
||||
])
|
||||
+dnl overwrite for the mips* 64bit multilibs, fails on some buildds
|
||||
+if test "$libgo_cv_lib_setcontext_clobbers_tls" = "yes"; then
|
||||
+ case "$target" in
|
||||
+ mips*-linux-*)
|
||||
+ AC_MSG_WARN([FIXME: overwrite setcontext_clobbers_tls for $target:$ptr_type_size])
|
||||
+ libgo_cv_lib_setcontext_clobbers_tls=no ;;
|
||||
+ esac
|
||||
+fi
|
||||
if test "$libgo_cv_lib_setcontext_clobbers_tls" = "yes"; then
|
||||
AC_DEFINE(SETCONTEXT_CLOBBERS_TLS, 1,
|
||||
[Define if setcontext clobbers TLS variables])
|
Reference in New Issue
Block a user