diff options
author | Chong Lu <Chong.Lu@windriver.com> | 2014-06-04 13:35:41 +0800 |
---|---|---|
committer | Andreas Oberritter <obi@opendreambox.org> | 2015-02-23 17:15:39 +0100 |
commit | 190add2dbd6557dcb570eeb7adb4c626c0ef8356 (patch) | |
tree | b9d382c77d1af697380b9cbcf07d45fd8ea6e0c1 /meta/recipes-connectivity/nfs-utils/nfs-utils | |
parent | 54963e7d2af23ace7e0d4cf93b735bdaf4eda4ff (diff) | |
download | openembedded-core-contrib-190add2dbd6557dcb570eeb7adb4c626c0ef8356.tar.gz |
nfs-utils: unset CFLAGS for testlk build
testlk is built with host gcc at do_compile stage, which leads to unrecognized
some flags for special architecture. So unset CFLAGS for testlk to make sure
it passed.
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
(cherry picked from commit 2461336b9432cf8379bda19d425ba00e542fbab7)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Diffstat (limited to 'meta/recipes-connectivity/nfs-utils/nfs-utils')
-rw-r--r-- | meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-unset-CFLAGS-for-testlk-build.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-unset-CFLAGS-for-testlk-build.patch b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-unset-CFLAGS-for-testlk-build.patch new file mode 100644 index 0000000000..6f06edfaa9 --- /dev/null +++ b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-unset-CFLAGS-for-testlk-build.patch @@ -0,0 +1,31 @@ +From c6819380f27eeb57210b3d2758aa2f8e6af54b56 Mon Sep 17 00:00:00 2001 +From: Chong Lu <Chong.Lu@windriver.com> +Date: Tue, 3 Jun 2014 09:56:50 +0800 +Subject: [PATCH] nfs-utils: unset CFLAGS for testlk build + +testlk is built with host gcc at do_compile stage, which leads to unrecognized +some flags for special architecture. So unset CFLAGS for testlk to make sure +it passed. + +Upstream-Status: Pending + +Signed-off-by: Chong Lu <Chong.Lu@windriver.com> +--- + tools/locktest/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/tools/locktest/Makefile.am b/tools/locktest/Makefile.am +index 3156815..325b061 100644 +--- a/tools/locktest/Makefile.am ++++ b/tools/locktest/Makefile.am +@@ -1,6 +1,7 @@ + ## Process this file with automake to produce Makefile.in + + CC=$(CC_FOR_BUILD) ++CFLAGS = + LIBTOOL = @LIBTOOL@ --tag=CC + + noinst_PROGRAMS = testlk +-- +1.7.9.5 + |