New issue
Advanced search Search tips

Issue 624250 link

Starred by 2 users

Issue metadata

Status: Archived
Owner: ----
Closed: Jul 2017
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

GYP does not distinguish between host and target LDFLAGS

Reported by hujiajie...@gmail.com, Jun 29 2016

Issue description

UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0

Steps to reproduce the problem:
1. export LDFLAGS="..."
2. run gyp_chromium

What is the expected behavior?
In cross compilation, LDFLAGS should only be passed to cross compiler, just as how CFLAGS works.

What went wrong?
LDFLAGS is also used in building host tools.

Did this work before? No 

Chrome version:   Channel: n/a
OS Version: 
Flash Version: 

For building host tools, we can control the flags passed to CC_host/CXX_host by setting environment variables like CPPFLAGS_host, CFLAGS_host and CXXFLAGS_host. The same mechanism should be implemented for the linker (and maybe other tools used in building host tools).
 
Labels: Te-NeedsFurtherTriage
Labels: Build
Project Member

Comment 3 by sheriffbot@chromium.org, Jul 14 2017

Status: Archived (was: Unconfirmed)
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment