our ranlib can now take multiple files at once, no need for this hack anymore
prodded by Brad
This commit is contained in:
parent
3e9a33ee6c
commit
283b266860
@ -1,14 +0,0 @@
|
||||
Index: Makefile
|
||||
--- Makefile.orig
|
||||
+++ Makefile
|
||||
@@ -545,7 +545,9 @@ installoptopt:
|
||||
"$(INSTALL_COMPLIBDIR)"; \
|
||||
fi
|
||||
cd "$(INSTALL_COMPLIBDIR)" && \
|
||||
- $(RANLIB) ocamlcommon.$(A) ocamlbytecomp.$(A) ocamloptcomp.$(A)
|
||||
+ $(RANLIB) ocamlcommon.$(A) && \
|
||||
+ $(RANLIB) ocamlbytecomp.$(A) && \
|
||||
+ $(RANLIB) ocamloptcomp.$(A)
|
||||
|
||||
# Installation of the *.ml sources of compiler-libs
|
||||
.PHONY: install-compiler-sources
|
@ -1,45 +0,0 @@
|
||||
Index: configure.ac
|
||||
--- configure.ac.orig
|
||||
+++ configure.ac
|
||||
@@ -735,6 +735,11 @@ AS_CASE([$CC,$host],
|
||||
)
|
||||
|
||||
|
||||
+# Respect LDFLAGS and CFLAGS
|
||||
+common_cflags="$common_cflags $CFLAGS"
|
||||
+oc_ldflags="$oc_ldflags $LDFLAGS"
|
||||
+
|
||||
+
|
||||
## Program to use to install files
|
||||
AC_PROG_INSTALL
|
||||
|
||||
@@ -867,10 +872,10 @@ AS_IF([test x"$enable_shared" != "xno"],
|
||||
[[*-*-linux*|*-*-freebsd[3-9]*|*-*-freebsd[1-9][0-9]*\
|
||||
|*-*-openbsd*|*-*-netbsd*|*-*-dragonfly*|*-*-gnu*|*-*-haiku*]],
|
||||
[sharedlib_cflags="-fPIC"
|
||||
+ oc_ldflags="$oc_ldflags -Wl,-E"
|
||||
AS_CASE([$CC,$host],
|
||||
[gcc*,powerpc-*-linux*], [mksharedlib="$CC -shared -mbss-plt"],
|
||||
- [mksharedlib="$CC -shared"])
|
||||
- oc_ldflags="$oc_ldflags -Wl,-E"
|
||||
+ [mksharedlib="$CC -shared $oc_ldflags"])
|
||||
rpath="-Wl,-rpath,"
|
||||
mksharedlibrpath="-Wl,-rpath,"
|
||||
natdynlinkopts="-Wl,-E"
|
||||
@@ -912,6 +917,7 @@ AS_IF([test x"$enable_shared" != "xno"],
|
||||
[earm*-*-netbsd*], [natdynlink=true],
|
||||
[aarch64-*-linux*], [natdynlink=true],
|
||||
[aarch64-*-freebsd*], [natdynlink=true],
|
||||
+ [aarch64-*-openbsd*], [natdynlink=true],
|
||||
[riscv*-*-linux*], [natdynlink=true])])
|
||||
|
||||
# Try to work around the Skylake/Kaby Lake processor bug.
|
||||
@@ -1013,6 +1019,8 @@ AS_CASE([$host],
|
||||
[arch=arm64; system=linux],
|
||||
[aarch64-*-freebsd*],
|
||||
[arch=arm64; system=freebsd],
|
||||
+ [aarch64-*-openbsd*],
|
||||
+ [arch=arm64; system=openbsd],
|
||||
[x86_64-*-cygwin*],
|
||||
[arch=amd64; system=cygwin],
|
||||
[riscv64-*-linux*],
|
Loading…
Reference in New Issue
Block a user