openbsd-ports/devel/glib2/patches/gcc3-patch-glib_tests_Makefile_in

16 lines
739 B
Plaintext

$OpenBSD: gcc3-patch-glib_tests_Makefile_in,v 1.2 2014/03/19 15:23:58 miod Exp $
-Wstrict-aliasing is not supported by GCC3.
--- glib/tests/Makefile.in.orig Tue Nov 12 15:26:52 2013
+++ glib/tests/Makefile.in Wed Mar 19 15:20:40 2014
@@ -115,7 +115,7 @@ check_PROGRAMS = $(am__EXEEXT_8)
@ENABLE_INSTALLED_TESTS_TRUE@ $(dist_installed_test_data)
@ENABLE_INSTALLED_TESTS_TRUE@am__append_12 = $(test_ltlibraries) $(installed_test_ltlibraries)
@ENABLE_INSTALLED_TESTS_TRUE@am__append_13 = $(installed_test_meta_DATA)
-@HAVE_GCC_TRUE@am__append_14 = -Wstrict-aliasing=2
+#@HAVE_GCC_TRUE@am__append_14 = -Wstrict-aliasing=2
# -----------------------------------------------------------------------------
@OS_UNIX_TRUE@am__append_15 = \