Files
poky/meta/recipes-support/liburcu/files/fixCCflag.patch
Cristiana Voicu 4feed78e5e liburcu: upgrade to 0.8.0
Fix case where ${B} != ${S}; add patch to allow out
of tree doc exemples build to work
Add patch to remove CC=gcc when CC is defined, in order to
use the cross compiler.

(From OE-Core rev: 4b2aa17a5c5d2ccf9824a4d2fd71f600b18ba2f2)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-08 17:31:36 +00:00

21 lines
633 B
Diff

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)