Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1104)

Issue 1853041: code review 1853041: Build libcgo.so with $(CC), not the gcc on PATH. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 8 months ago by iant
Modified:
14 years, 8 months ago
Reviewers:
CC:
rsc, golang-dev
Visibility:
Public.

Description

Build libcgo.so with $(CC), not the gcc on PATH. Change make.bash to make sure that $(CC) is defined to match the compiler used to build the tools.

Patch Set 1 #

Patch Set 2 : code review 1853041: Build libcgo.so with $(CC), not the gcc on PATH. #

Patch Set 3 : code review 1853041: Build libcgo.so with $(CC), not the gcc on PATH. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -3 lines) Patch
M src/libcgo/Makefile View 1 chunk +3 lines, -3 lines 0 comments Download
M src/make.bash View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7
iant
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 8 months ago (2010-07-15 09:02:02 UTC) #1
r2
LGTM On Jul 15, 2010, at 2:02 AM, iant@golang.org wrote: > Reviewers: rsc, > > ...
14 years, 8 months ago (2010-07-15 15:33:18 UTC) #2
rsc
LGTM
14 years, 8 months ago (2010-07-15 16:26:14 UTC) #3
rsc
Actually, wait. cgo invokes gcc directly as gcc. What do we do for that?
14 years, 8 months ago (2010-07-15 16:26:37 UTC) #4
iant2
Russ Cox <rsc@golang.org> writes: > Actually, wait. > > cgo invokes gcc directly as gcc. ...
14 years, 8 months ago (2010-07-15 19:31:25 UTC) #5
rsc
okay; 2 LGTM
14 years, 8 months ago (2010-07-15 19:34:46 UTC) #6
iant
14 years, 8 months ago (2010-07-15 21:15:47 UTC) #7
*** Submitted as http://code.google.com/p/go/source/detail?r=d5fef2bba1e7 ***

Build libcgo.so with $(CC), not the gcc on PATH.

Change make.bash to make sure that $(CC) is defined to match
the compiler used to build the tools.

R=rsc
CC=golang-dev
http://codereview.appspot.com/1853041
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b