X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=doc%2Fexamples%2FMakefile.am;h=493e07dd62997b83636f12d9a4267cf43211bc9b;hb=363fe7802a7f7732434c8949e153aea23a94aa1f;hp=6f723a4a7e9f7915b30c1c1ccdda483bf257362a;hpb=b6ec8f51c4d8e97fd753c9b0e36178a7546c23a6;p=lttng-ust.git diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am index 6f723a4a..493e07dd 100644 --- a/doc/examples/Makefile.am +++ b/doc/examples/Makefile.am @@ -97,10 +97,6 @@ dist_doc_examples_getcpu_override_DATA = getcpu-override/Makefile \ getcpu-override/run-getcpu-override \ getcpu-override/README -if NO_SHARED -# Don't build examples if shared libraries support was explicitly -# disabled. -else # Copies are for VPATH build support SUBDIRS_PROXY = easy-ust demo hello-static-lib demo-tracef clock-override \ getcpu-override demo-tracelog @@ -149,8 +145,8 @@ all-local: cd $$subdir && \ $(MKDIR_P) build && \ cd build && \ - CC=$(CC) \ - CXX=$(CXX) \ + CC="$(CC)" \ + CXX="$(CXX)" \ cmake \ -DCMAKE_INCLUDE_PATH="$(abs_top_srcdir)/include;$(abs_top_builddir)/include" \ -DCMAKE_LIBRARY_PATH="$(abs_top_builddir)/liblttng-ust/.libs" \ @@ -197,4 +193,3 @@ clean-local: rm -rf $(builddir)/$$subdir; \ done; \ fi; -endif