SHA256
1
0
forked from pool/graphviz
graphviz/graphviz-no_strict_aliasing.patch
Philipp Thomas 9775d599df - Add graphviz-type_punning.patch which compiles the vmalloc sources
with -fno-strict-aliasing.

- Split off gvedit to it's own spec to avoid circular dependency
  for graphviz and its sup packages.
- Initial package graphviz-gvedit which splits off gvedit.

OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=62
2013-09-11 17:23:36 +00:00

18 lines
724 B
Diff

---
lib/vmalloc/Makefile.am | 2 ++
1 file changed, 2 insertions(+)
Index: lib/vmalloc/Makefile.am
===================================================================
--- lib/vmalloc/Makefile.am.orig 2013-09-07 03:07:52.000000000 +0200
+++ lib/vmalloc/Makefile.am 2013-09-11 18:51:30.719515603 +0200
@@ -9,6 +9,8 @@ libvmalloc_C_la_SOURCES = malloc.c vmbes
vmprofile.c vmregion.c vmsegment.c vmset.c vmstat.c vmstrdup.c \
vmtrace.c vmwalk.c
+libvmalloc_C_la_CFLAGS = -fno-strict-aliasing
+
${top_builddir}/FEATURE/vmalloc: ${top_srcdir}/lib/vmalloc/features/vmalloc
mkdir -p ${top_builddir}/FEATURE
${top_srcdir}/iffe - set cc $(CC) $(CCMODE) $(CXFLAGS) : run ${top_srcdir}/lib/vmalloc/features/vmalloc > $@