openbsd-ports/devel/glib2/patches/patch-glib_tests_Makefile_am
ajacoutot 9852adda0e Implement platform_get_argv0.
We are using autohell to put '-Wstrict-aliasing' into Makefile.am.

ok sthen@
2012-02-02 07:10:17 +00:00

13 lines
432 B
Plaintext

$OpenBSD: patch-glib_tests_Makefile_am,v 1.1 2012/02/02 07:10:18 ajacoutot Exp $
--- glib/tests/Makefile.am.orig Mon Jan 30 13:48:23 2012
+++ glib/tests/Makefile.am Mon Jan 30 13:48:51 2012
@@ -193,7 +193,7 @@ unix_nothreads_LDADD = $(progs_ldadd)
noinst_PROGRAMS += atomic
atomic_CFLAGS = $(INCLUDES)
if HAVE_GCC
-atomic_CFLAGS += -Wstrict-aliasing=2
+atomic_CFLAGS += -Wstrict-aliasing
endif
atomic_LDADD = $(progs_ldadd)