Skip to content

Instantly share code, notes, and snippets.

@tnn2
Last active August 29, 2015 14:15
Show Gist options
  • Save tnn2/b359756edf6b4094dfd0 to your computer and use it in GitHub Desktop.
Save tnn2/b359756edf6b4094dfd0 to your computer and use it in GitHub Desktop.
Wrong fix don't use
--- Makefile.am.orig 2015-02-19 16:38:09.000000000 +0000
+++ Makefile.am
@@ -96,7 +96,7 @@ endif
# Include THREADDLLIBS here to ensure that the correct versions of
# linuxthread semaphore functions get linked:
-libgc_la_LIBADD = @addobjs@ $(THREADDLLIBS) $(UNWINDLIBS) $(ATOMIC_OPS_LIBS)
+libgc_la_LIBADD = $(echo @addobjs@ | sed s,src/,,) $(THREADDLLIBS) $(UNWINDLIBS) $(ATOMIC_OPS_LIBS)
libgc_la_DEPENDENCIES = @addobjs@
libgc_la_LDFLAGS = $(extra_ldflags_libgc) -version-info 1:3:0 -no-undefined
--- configure.ac.orig 2014-06-03 06:08:01.000000000 +0000
+++ configure.ac
@@ -578,21 +578,21 @@ case "$host" in
dnl performance under Irix.
;;
sparc-*-netbsd*)
- machdep="sparc_netbsd_mach_dep.lo"
+ machdep="src/sparc_netbsd_mach_dep.lo"
;;
sparc*-*-linux* | sparc*-*-openbsd* | sparc64-*-freebsd* | sparc64-*-netbsd*)
- machdep="sparc_mach_dep.lo"
+ machdep="src/sparc_mach_dep.lo"
;;
sparc-sun-solaris2.3)
- machdep="sparc_mach_dep.lo"
+ machdep="src/sparc_mach_dep.lo"
AC_DEFINE(SUNOS53_SHARED_LIB, 1,
[Define to work around a Solaris 5.3 bug (see dyn_load.c).])
;;
sparc*-sun-solaris2*)
- machdep="sparc_mach_dep.lo"
+ machdep="src/sparc_mach_dep.lo"
;;
ia64-*-*)
- machdep="ia64_save_regs_in_stack.lo"
+ machdep="src/ia64_save_regs_in_stack.lo"
;;
esac
AC_MSG_RESULT($machdep)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment