Page MenuHomeClusterLabs Projects

No OneTemporary

diff --git a/crm/ais/Makefile.am b/crm/ais/Makefile.am
index 1883e5b733..682a4428da 100644
--- a/crm/ais/Makefile.am
+++ b/crm/ais/Makefile.am
@@ -1,47 +1,47 @@
#
# Copyright (C) 2007 Andrew Beekhof
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
MAINTAINERCLEANFILES = Makefile.in
ais_LTLIBRARIES = crm_ais.la
aisdir = /opt/local/libexec/lcrso
crm_ais_la_SOURCES = plugin.c
crm_ais_la_LDFLAGS = -export-dynamic -module -avoid-version
# Extra LDFLAGS: -bundle -bundle_loader /opt/local/sbin/aisexec -bind_at_load
crm_ais_la_LIBADD = $(top_builddir)/lib/clplumbing/libplumb.la \
$(top_builddir)/lib/crm/common/libcrmcommon.la
#CFLAGS that cant be used here: -ansi -Wcast-qual -Wwrite-strings
-CFLAGS = $(NON_FATAL_CFLAGS)
+CFLAGS = $(NON_FATAL_CFLAGS:-Wwrite-strings=)
#ifeq (${OPENAIS_COMPAT}, DARWIN)
#service_cfg.lcrso: cfg.o
# $(CC) $(LDFLAGS) -bundle $(LDFLAGS) -bundle_loader ./aisexec -bind_at_load cfg.o -o $@
#else
#service_cfg.lcrso: cfg.o
# $(CC) -shared -Wl,-soname,service_cfg.lcrso cfg.o -o $@
#endif
install-exec-local:
cd $(aisdir) && sudo ln -sf crm_ais.so crm_ais.lcrso
# Manual version
ais: plugin.o
echo $(CFLAGS)
$(CC) $(LDFLAGS) -bundle $(LDFLAGS) -L/opt/local/lib $(GLIBLIB) -lplumb -lcrmcommon -bundle_loader /opt/local/sbin/aisexec -bind_at_load -bind_at_load plugin.o -o $(aisdir)/crm_ais.so

File Metadata

Mime Type
text/x-diff
Expires
Thu, Oct 16, 3:05 PM (18 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2536455
Default Alt Text
(2 KB)

Event Timeline