e7f261aa15
Also, sync a bit with base gcc: - disable unsafe builtins - disable -Wpointer-sign in -Wall - move -fstrict-aliasing to -O3, disable -fstrict-overflow and -fdelete-null-pointer-checks - enable -Wsystem-headers - default to march=i486 on i386 - fix crtsavres on powerpc - sync sparc64 config - implement -Wvariable-decl, -Wstack-larger-than-N (alpha, amd64, i386, sparc, sparc64), -Wtrampolines, -ftrampolines - default to -fno-ident - fix -rdynamic by passing -export-dynamic to ld(1) some bits from Brad, others from me. tested by myself and jsg@, adastrap now hosted by sthen@ (thanks). ok jsg@ sthen@
26 lines
1.2 KiB
Plaintext
26 lines
1.2 KiB
Plaintext
$OpenBSD: patch-lto-plugin_Makefile_in,v 1.3 2012/03/31 20:02:03 pascal Exp $
|
|
--- lto-plugin/Makefile.in.orig Tue Jan 3 14:15:21 2012
|
|
+++ lto-plugin/Makefile.in Sun Mar 11 19:10:42 2012
|
|
@@ -241,9 +241,11 @@ liblto_plugin_la_SOURCES = lto-plugin.c
|
|
liblto_plugin_la_LIBADD = \
|
|
$(if $(wildcard ../libiberty/pic/libiberty.a),$(Wc)../libiberty/pic/libiberty.a,)
|
|
|
|
+include $(top_srcdir)/../libversions
|
|
# Note that we intentionally override the bindir supplied by ACX_LT_HOST_FLAGS
|
|
liblto_plugin_la_LDFLAGS = $(lt_host_flags) -module -bindir $(libexecsubdir) \
|
|
- $(if $(wildcard ../libiberty/pic/libiberty.a),,-Wc,../libiberty/libiberty.a)
|
|
+ $(if $(wildcard ../libiberty/pic/libiberty.a),,-Wc,../libiberty/libiberty.a) \
|
|
+ $(LIBlto_plugin_LTVERSION)
|
|
|
|
liblto_plugin_la_DEPENDENCIES = $(if $(wildcard \
|
|
../libiberty/pic/libiberty.a),../libiberty/pic/libiberty.a,)
|
|
@@ -542,7 +544,7 @@ $(in_gcc_libs) : $(gcc_build_dir)/%: %
|
|
echo WARNING: $* is static, not copying to $@ >&2 ; \
|
|
else \
|
|
$(mkinstalldirs) $(gcc_build_dir) && \
|
|
- $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $* `pwd`/$@ ; \
|
|
+ cp $* `pwd`/$@ ; \
|
|
fi
|
|
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|