* [PATCH 0/1] pango / ptest: clean CFLAGS for host binary
@ 2014-09-02 5:53 wenzong.fan
2014-09-02 5:53 ` [PATCH 1/1] " wenzong.fan
2014-09-09 9:11 ` [PATCH 0/1] " wenzong fan
0 siblings, 2 replies; 4+ messages in thread
From: wenzong.fan @ 2014-09-02 5:53 UTC (permalink / raw)
To: openembedded-core
From: Wenzong Fan <wenzong.fan@windriver.com>
The binary gen-all-unicode needs to be compiled for the host
architecture, the CFLAGS passed to target system could cause
build issues for it.
Such as if CFLAGS includes ARM specific flag '-mapcs-frame',
then it will cause build errors:
cc1: error: unrecognized command line option "-mapcs-frame"
The following changes since commit bb00d83675a1293ee8d7a3ac22cf01243fa2397b:
conf: Account for eglibc->glibc move (2014-09-01 18:03:06 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib wenzong/fix-pango
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=wenzong/fix-pango
Wenzong Fan (1):
pango / ptest: clean CFLAGS for host binary
meta/recipes-graphics/pango/pango.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
1.7.9.5
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/1] pango / ptest: clean CFLAGS for host binary
2014-09-02 5:53 [PATCH 0/1] pango / ptest: clean CFLAGS for host binary wenzong.fan
@ 2014-09-02 5:53 ` wenzong.fan
2014-09-09 9:11 ` [PATCH 0/1] " wenzong fan
1 sibling, 0 replies; 4+ messages in thread
From: wenzong.fan @ 2014-09-02 5:53 UTC (permalink / raw)
To: openembedded-core
From: Wenzong Fan <wenzong.fan@windriver.com>
The binary gen-all-unicode needs to be compiled for the host
architecture, the CFLAGS passed to target system could cause
build issues for it.
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
---
meta/recipes-graphics/pango/pango.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-graphics/pango/pango.inc b/meta/recipes-graphics/pango/pango.inc
index 1ad46a3..b59d33d 100644
--- a/meta/recipes-graphics/pango/pango.inc
+++ b/meta/recipes-graphics/pango/pango.inc
@@ -67,7 +67,7 @@ fi
# This binary needs to be compiled for the host architecture. This isn't pretty!
do_compile_prepend () {
if ${@base_contains('DISTRO_FEATURES', 'ptest', 'true', 'false', d)}; then
- make CC="${BUILD_CC}" AM_CPPFLAGS="$(pkg-config-native --cflags glib-2.0)" gen_all_unicode_LDADD="$(pkg-config-native --libs glib-2.0)" -C ${B}/tests gen-all-unicode
+ make CC="${BUILD_CC}" CFLAGS="" AM_CPPFLAGS="$(pkg-config-native --cflags glib-2.0)" gen_all_unicode_LDADD="$(pkg-config-native --libs glib-2.0)" -C ${B}/tests gen-all-unicode
fi
}
--
1.7.9.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 0/1] pango / ptest: clean CFLAGS for host binary
2014-09-02 5:53 [PATCH 0/1] pango / ptest: clean CFLAGS for host binary wenzong.fan
2014-09-02 5:53 ` [PATCH 1/1] " wenzong.fan
@ 2014-09-09 9:11 ` wenzong fan
2014-09-09 9:20 ` wenzong fan
1 sibling, 1 reply; 4+ messages in thread
From: wenzong fan @ 2014-09-09 9:11 UTC (permalink / raw)
To: openembedded-core
Recall this patch, it should be fixed from the dependency of swig.
Sorry for the inconvenience.
// Wenzong
On 09/02/2014 01:53 PM, wenzong.fan@windriver.com wrote:
> From: Wenzong Fan <wenzong.fan@windriver.com>
>
> The binary gen-all-unicode needs to be compiled for the host
> architecture, the CFLAGS passed to target system could cause
> build issues for it.
>
> Such as if CFLAGS includes ARM specific flag '-mapcs-frame',
> then it will cause build errors:
>
> cc1: error: unrecognized command line option "-mapcs-frame"
>
> The following changes since commit bb00d83675a1293ee8d7a3ac22cf01243fa2397b:
>
> conf: Account for eglibc->glibc move (2014-09-01 18:03:06 +0100)
>
> are available in the git repository at:
>
> git://git.pokylinux.org/poky-contrib wenzong/fix-pango
> http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=wenzong/fix-pango
>
> Wenzong Fan (1):
> pango / ptest: clean CFLAGS for host binary
>
> meta/recipes-graphics/pango/pango.inc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 0/1] pango / ptest: clean CFLAGS for host binary
2014-09-09 9:11 ` [PATCH 0/1] " wenzong fan
@ 2014-09-09 9:20 ` wenzong fan
0 siblings, 0 replies; 4+ messages in thread
From: wenzong fan @ 2014-09-09 9:20 UTC (permalink / raw)
To: 'Patches and discussions about the oe-core layer'
On 09/09/2014 05:11 PM, wenzong fan wrote:
Oops, I replied wrong mail list, this patch works and have been merged,
please just ignore my nonsense below:
============================================
> Recall this patch, it should be fixed from the dependency of swig.
>
> Sorry for the inconvenience.
>
> // Wenzong
>
============================================
Thanks
Wenzong
> On 09/02/2014 01:53 PM, wenzong.fan@windriver.com wrote:
>> From: Wenzong Fan <wenzong.fan@windriver.com>
>>
>> The binary gen-all-unicode needs to be compiled for the host
>> architecture, the CFLAGS passed to target system could cause
>> build issues for it.
>>
>> Such as if CFLAGS includes ARM specific flag '-mapcs-frame',
>> then it will cause build errors:
>>
>> cc1: error: unrecognized command line option "-mapcs-frame"
>>
>> The following changes since commit
>> bb00d83675a1293ee8d7a3ac22cf01243fa2397b:
>>
>> conf: Account for eglibc->glibc move (2014-09-01 18:03:06 +0100)
>>
>> are available in the git repository at:
>>
>> git://git.pokylinux.org/poky-contrib wenzong/fix-pango
>>
>> http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=wenzong/fix-pango
>>
>> Wenzong Fan (1):
>> pango / ptest: clean CFLAGS for host binary
>>
>> meta/recipes-graphics/pango/pango.inc | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-09-09 9:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-02 5:53 [PATCH 0/1] pango / ptest: clean CFLAGS for host binary wenzong.fan
2014-09-02 5:53 ` [PATCH 1/1] " wenzong.fan
2014-09-09 9:11 ` [PATCH 0/1] " wenzong fan
2014-09-09 9:20 ` wenzong fan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox