SHA256
1
0
forked from pool/graphviz
graphviz/graphviz-gv_aliasing.patch

29 lines
1023 B
Diff

--- tclpkg/gv/Makefile.am 2007/02/01 12:47:35 1.1
+++ tclpkg/gv/Makefile.am 2007/05/08 09:25:17
@@ -56,6 +56,8 @@
LUA_hdr =
nodist_libgv_lua_la_SOURCES = gv_lua.cpp $(LUA_hdr)
libgv_lua_la_SOURCES = $(BASESOURCES)
+#libgv_lua_la_CFLAGS = -fno-strict-aliasing
+libgv_lua_la_CXXFLAGS = -fno-strict-aliasing
libgv_lua_la_LIBADD = $(BASELIBS) @LUA_LIBS@
libgv_lua_la_LDFLAGS =
gv_lua.cpp $(LUA_hdr): gv.i
@@ -74,6 +76,8 @@
PERL_hdr = gv.pm
nodist_libgv_perl_la_SOURCES = gv_perl.cpp $(PERL_hdr)
libgv_perl_la_SOURCES = $(BASESOURCES)
+#libgv_perl_la_CFLAGS = -fno-strict-aliasing
+libgv_perl_la_CXXFLAGS = -fno-strict-aliasing
libgv_perl_la_LIBADD = $(BASELIBS) @PERL_LIBS@
libgv_perl_la_LDFLAGS =
gv_perl.cpp $(PERL_hdr): gv.i
@@ -86,6 +86,7 @@
pkgphpdir = $(pkglibdir)/php
PHP_hdr = gv.php php_gv.h
nodist_libgv_php_la_SOURCES = gv_php.cpp $(PHP_hdr)
+libgv_php_la_CXXFLAGS = -fno-strict-aliasing
libgv_php_la_SOURCES = $(BASESOURCES)
libgv_php_la_LIBADD = $(BASELIBS) @PHP_LIBS@
libgv_php_la_LDFLAGS =