diff options
Diffstat (limited to 'meta/recipes-support/liburcu/files')
-rw-r--r-- | meta/recipes-support/liburcu/files/fixCCflag.patch | 20 | ||||
-rw-r--r-- | meta/recipes-support/liburcu/files/fixsepbuild.patch | 19 |
2 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-support/liburcu/files/fixCCflag.patch b/meta/recipes-support/liburcu/files/fixCCflag.patch new file mode 100644 index 0000000000..2e526d4517 --- /dev/null +++ b/meta/recipes-support/liburcu/files/fixCCflag.patch @@ -0,0 +1,20 @@ +Upstream-Status: Pending + +Use cross compiler for doc exemples too + +Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> + +Index: userspace-rcu-0.8.0/doc/examples/Makefile.examples.template +=================================================================== +--- userspace-rcu-0.8.0.orig/doc/examples/Makefile.examples.template 2013-08-30 21:25:20.000000000 +0300 ++++ userspace-rcu-0.8.0/doc/examples/Makefile.examples.template 2013-10-23 13:34:30.405550556 +0300 +@@ -11,7 +11,9 @@ + # + # This makefile is purposefully kept simple to support GNU and BSD make. + ++ifndef CC + CC = gcc ++endif + CFLAGS = -g -O2 -Wall + + all: $(BINARY) diff --git a/meta/recipes-support/liburcu/files/fixsepbuild.patch b/meta/recipes-support/liburcu/files/fixsepbuild.patch new file mode 100644 index 0000000000..9cd0ab9e73 --- /dev/null +++ b/meta/recipes-support/liburcu/files/fixsepbuild.patch @@ -0,0 +1,19 @@ +Upstream-Status: Pending + +Fix out of tree build for doc examples + +Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> + +Index: userspace-rcu-0.8.0/doc/examples/Makefile.am +=================================================================== +--- userspace-rcu-0.8.0.orig/doc/examples/Makefile.am 2013-08-30 21:25:20.000000000 +0300 ++++ userspace-rcu-0.8.0/doc/examples/Makefile.am 2013-10-21 17:52:34.774597179 +0300 +@@ -128,7 +128,7 @@ + cp -fR $(srcdir)/$$subdir $(builddir); \ + done; \ + fi +- $(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 ++ $(MAKE) -f dist-files/Makefile AM_CPPFLAGS="$(CPPFLAGS) -I$(top_srcdir) -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 |