Bug 6070 - gtk+3: may fail to build
Summary: gtk+3: may fail to build
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.6
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.6 M5
Assignee: Robert Yang
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-03-30 03:44 UTC by Robert Yang
Modified: 2014-04-04 15:29 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Yang 2014-03-30 03:44:46 UTC
The gtk/native/Makefile.am has set:
CC = @CC_FOR_BUILD@
It shoudl also set:
CFLAGS = @CFLAGS_FOR_BUILD@

Otherwise there might be build failures when doing cross build, for example,
several CFLAGS are special to arm or mips, and the native gcc can't recognize
them.

The similar to CPPFLAGS and LDFLAGS.