pacemaker/pacemaker-Wno-cast-align.patch

14 lines
485 B
Diff
Raw Normal View History

Index: pacemaker/lib/common/Makefile.am
===================================================================
--- pacemaker.orig/lib/common/Makefile.am
+++ pacemaker/lib/common/Makefile.am
@@ -32,6 +32,8 @@ lib_LTLIBRARIES = libcrmcommon.la
CFLAGS = $(CFLAGS_COPY:-Wcast-qual=) -fPIC
+ipc.lo remote.lo: CFLAGS += -Wno-cast-align
+
libcrmcommon_la_SOURCES = ipc.c utils.c xml.c iso8601.c remote.c mainloop.c logging.c
if BUILD_CIBSECRETS
libcrmcommon_la_SOURCES += cib_secrets.c