* [PATCH 0/1] nfs-utils: Do not pass CFLAGS to gcc while building
@ 2014-06-12 2:23 Chong Lu
2014-06-12 2:23 ` [PATCH 1/1] " Chong Lu
0 siblings, 1 reply; 2+ messages in thread
From: Chong Lu @ 2014-06-12 2:23 UTC (permalink / raw)
To: openembedded-core
The following changes since commit b5a928af721026795be7b7f68b2dd577408afbe5:
bitbake: toaster: add Project class models to orm (2014-06-11 10:35:47 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib chonglu/nfs-utils
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=chonglu/nfs-utils
Chong Lu (1):
nfs-utils: Do not pass CFLAGS to gcc while building
...-Do-not-pass-CFLAGS-to-gcc-while-building.patch | 42 ++++++++++++++++++++++
.../nfs-utils-unset-CFLAGS-for-testlk-build.patch | 31 ----------------
.../nfs-utils/nfs-utils_1.3.0.bb | 2 +-
3 files changed, 43 insertions(+), 32 deletions(-)
create mode 100644 meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-Do-not-pass-CFLAGS-to-gcc-while-building.patch
delete mode 100644 meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-unset-CFLAGS-for-testlk-build.patch
--
1.8.1.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/1] nfs-utils: Do not pass CFLAGS to gcc while building
2014-06-12 2:23 [PATCH 0/1] nfs-utils: Do not pass CFLAGS to gcc while building Chong Lu
@ 2014-06-12 2:23 ` Chong Lu
0 siblings, 0 replies; 2+ messages in thread
From: Chong Lu @ 2014-06-12 2:23 UTC (permalink / raw)
To: openembedded-core
Do not pass CFLAGS/LDFLAGS to gcc while building, The needed flags has
been passed by xxx_CFLAGS=$(CFLAGS_FOR_BUILD).
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
---
...-Do-not-pass-CFLAGS-to-gcc-while-building.patch | 42 ++++++++++++++++++++++
.../nfs-utils-unset-CFLAGS-for-testlk-build.patch | 31 ----------------
.../nfs-utils/nfs-utils_1.3.0.bb | 2 +-
3 files changed, 43 insertions(+), 32 deletions(-)
create mode 100644 meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-Do-not-pass-CFLAGS-to-gcc-while-building.patch
delete mode 100644 meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-unset-CFLAGS-for-testlk-build.patch
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-Do-not-pass-CFLAGS-to-gcc-while-building.patch b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-Do-not-pass-CFLAGS-to-gcc-while-building.patch
new file mode 100644
index 0000000..993f1e5
--- /dev/null
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-Do-not-pass-CFLAGS-to-gcc-while-building.patch
@@ -0,0 +1,42 @@
+nfs-utils: Do not pass CFLAGS to gcc while building
+
+Do not pass CFLAGS/LDFLAGS to gcc while building, The needed flags has
+been passed by xxx_CFLAGS=$(CFLAGS_FOR_BUILD).
+
+Upstream-Status: Pending
+
+Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
+---
+ tools/locktest/Makefile.am | 2 ++
+ tools/rpcgen/Makefile.am | 2 ++
+ 2 files changed, 4 insertions(+)
+
+diff --git a/tools/locktest/Makefile.am b/tools/locktest/Makefile.am
+index 3156815..1729fd1 100644
+--- a/tools/locktest/Makefile.am
++++ b/tools/locktest/Makefile.am
+@@ -1,6 +1,8 @@
+ ## Process this file with automake to produce Makefile.in
+
+ CC=$(CC_FOR_BUILD)
++CFLAGS=
++LDFLAGS=
+ LIBTOOL = @LIBTOOL@ --tag=CC
+
+ noinst_PROGRAMS = testlk
+diff --git a/tools/rpcgen/Makefile.am b/tools/rpcgen/Makefile.am
+index 8a9ec89..8bacdaa 100644
+--- a/tools/rpcgen/Makefile.am
++++ b/tools/rpcgen/Makefile.am
+@@ -1,6 +1,8 @@
+ ## Process this file with automake to produce Makefile.in
+
+ CC=$(CC_FOR_BUILD)
++CFLAGS=
++LDFLAGS=
+ LIBTOOL = @LIBTOOL@ --tag=CC
+
+ noinst_PROGRAMS = rpcgen
+--
+1.7.9.5
+
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
deleted file mode 100644
index 6f06edf..0000000
--- a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-unset-CFLAGS-for-testlk-build.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-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
-
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.0.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.0.bb
index 689fe55..8575647 100644
--- a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.0.bb
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.0.bb
@@ -29,7 +29,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/nfs-utils/${PV}/nfs-utils-${PV}.tar.x
file://nfs-server.service \
file://nfs-mountd.service \
file://nfs-statd.service \
- file://nfs-utils-unset-CFLAGS-for-testlk-build.patch \
+ file://nfs-utils-Do-not-pass-CFLAGS-to-gcc-while-building.patch \
"
SRC_URI[md5sum] = "6e93a7997ca3a1eac56bf219adab72a8"
--
1.8.1.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-06-12 2:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-12 2:23 [PATCH 0/1] nfs-utils: Do not pass CFLAGS to gcc while building Chong Lu
2014-06-12 2:23 ` [PATCH 1/1] " Chong Lu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.