From f6fa41dd7b3677d0f7441db83cbd6c8a0283a499 Mon Sep 17 00:00:00 2001 From: Martin Lucina Date: Sat, 10 Apr 2010 16:51:22 +0200 Subject: Compile perf tests with the C++ compiler This lets us build the binaries in a portable fashion w/o having to worry about how to link with the C++ runtime. --- perf/Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'perf/Makefile.am') diff --git a/perf/Makefile.am b/perf/Makefile.am index d48dcee..fe35ff3 100644 --- a/perf/Makefile.am +++ b/perf/Makefile.am @@ -7,19 +7,19 @@ endif noinst_PROGRAMS = local_lat remote_lat local_thr remote_thr $(PGM_EXAMPLES_BINS) local_lat_LDADD = $(top_builddir)/src/libzmq.la -local_lat_SOURCES = local_lat.c +local_lat_SOURCES = local_lat.cpp local_lat_CXXFLAGS = -Wall -pedantic -Werror remote_lat_LDADD = $(top_builddir)/src/libzmq.la -remote_lat_SOURCES = remote_lat.c +remote_lat_SOURCES = remote_lat.cpp remote_lat_CXXFLAGS = -Wall -pedantic -Werror local_thr_LDADD = $(top_builddir)/src/libzmq.la -local_thr_SOURCES = local_thr.c +local_thr_SOURCES = local_thr.cpp local_thr_CXXFLAGS = -Wall -pedantic -Werror remote_thr_LDADD = $(top_builddir)/src/libzmq.la -remote_thr_SOURCES = remote_thr.c +remote_thr_SOURCES = remote_thr.cpp remote_thr_CXXFLAGS = -Wall -pedantic -Werror if BUILD_PGM_EXAMPLES -- cgit v1.2.3