openbsd-ports/lang/gcc/4.8/patches/patch-libatomic_Makefile_in
pascal 174fb904d7 Import gcc 4.8.
For a full Changelog, see: http://gcc.gnu.org/gcc-4.8/changes.html

Tested by me on amd64, i386 and powerpc and by brad@ on sparc64.

Adds support for -java on powerpc.  -faggressive-loop-optimizations is
disabled by default in the port, and the default debugging format changed
to DWARF2 (instead of 4).

tweaks and ok tobiasu@
2013-04-08 08:20:19 +00:00

22 lines
1.2 KiB
Plaintext

$OpenBSD: patch-libatomic_Makefile_in,v 1.1.1.1 2013/04/08 08:20:26 pascal Exp $
--- libatomic/Makefile.in.orig Sun Jan 6 23:42:59 2013
+++ libatomic/Makefile.in Sat Jan 12 13:27:11 2013
@@ -272,6 +272,8 @@ gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-V
search_path = $(addprefix $(top_srcdir)/config/, $(config_path)) \
$(top_srcdir) $(top_builddir)
+include $(top_srcdir)/../libversions
+
DEFAULT_INCLUDES = $(addprefix -I, $(search_path))
AM_CFLAGS = $(XCFLAGS)
AM_CCASFLAGS = $(XCFLAGS)
@@ -285,7 +287,7 @@ noinst_LTLIBRARIES = libatomic_convenience.la
@LIBAT_BUILD_VERSIONED_SHLIB_GNU_TRUE@@LIBAT_BUILD_VERSIONED_SHLIB_TRUE@libatomic_version_dep = $(top_srcdir)/libatomic.map
@LIBAT_BUILD_VERSIONED_SHLIB_SUN_TRUE@@LIBAT_BUILD_VERSIONED_SHLIB_TRUE@libatomic_version_dep = libatomic.map-sun
libatomic_version_info = -version-info $(libtool_VERSION)
-libatomic_la_LDFLAGS = $(libatomic_version_info) $(libatomic_version_script)
+libatomic_la_LDFLAGS = $(LIBatomic_LTVERSION)
libatomic_la_SOURCES = gload.c gstore.c gcas.c gexch.c glfree.c lock.c init.c
SIZEOBJS = load store cas exch fadd fsub fand fior fxor fnand tas
EXTRA_libatomic_la_SOURCES = $(addsuffix _n.c,$(SIZEOBJS))