Fix: doc/examples cross-build
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 26 Aug 2013 15:16:06 +0000 (11:16 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 26 Aug 2013 15:16:06 +0000 (11:16 -0400)
We need to pass automake's CPPFLAGS and LDFLAGS to examples. Add CFLAGS
too for completeness.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
doc/examples/Makefile.am

index 5ad70f45d88cbcd2e687fbf069849c29e735c832..7687098187d6474395812f8b73fe018c6d915131 100644 (file)
@@ -128,7 +128,7 @@ all-local:
                        cp -fR $(srcdir)/$$subdir $(builddir); \
                done; \
        fi
-       $(MAKE) -f dist-files/Makefile AM_CPPFLAGS="-I../../../urcu/ -I../../../" AM_LDFLAGS='-L../../../.libs/ -Wl,-rpath="$(PWD)/../../.libs/"' $(AM_MAKEFLAGS) all
+       $(MAKE) -f dist-files/Makefile AM_CPPFLAGS="$(CPPFLAGS) -I../../../urcu/ -I../../../" AM_CFLAGS='$(CFLAGS)' AM_LDFLAGS='$(LDFLAGS) -L../../../.libs/ -Wl,-rpath="$(PWD)/../../.libs/"' $(AM_MAKEFLAGS) all
 
 clean-local:
        $(MAKE) -f dist-files/Makefile $(AM_MAKEFLAGS) clean
This page took 0.033795 seconds and 4 git commands to generate.