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

Issue 5294042: code review 5294042: build: pass $GCFLAGS to compiler (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years ago by rsc
Modified:
15 years ago
Reviewers:
CC:
golang-dev, bradfitz, lvd
Visibility:
Public.

Description

build: pass $GCFLAGS to compiler For example, if you are debugging an optimization problem you can now run GCFLAGS=-N gotest This is a convention for make, not for the general build, so it may go away or be done differently in the eventual 'go' command. The plan is that people will be able to test their code for rune safety by doing GCFLAGS=-r.

Patch Set 1 #

Patch Set 2 : diff -r 96df3afe1c8a https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 96df3afe1c8a https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 02e06db88f3a https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -5 lines) Patch
M src/Make.cmd View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/Make.pkg View 1 1 chunk +2 lines, -2 lines 0 comments Download
M test/run View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4
rsc
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
15 years ago (2011-10-18 15:23:18 UTC) #1
bradfitz
LGTM This will also be useful for benchmarks with and without -b. On Tue, Oct ...
15 years ago (2011-10-18 16:00:43 UTC) #2
lvd
and inlining and escape analysis! LGTM++ On Oct 18, 2011 6:00 PM, "Brad Fitzpatrick" <bradfitz@golang.org> ...
15 years ago (2011-10-18 16:04:40 UTC) #3
rsc
15 years ago (2011-10-18 18:55:13 UTC) #4
*** Submitted as http://code.google.com/p/go/source/detail?r=f84853b94305 ***

build: pass $GCFLAGS to compiler

For example, if you are debugging an optimization
problem you can now run

        GCFLAGS=-N gotest

This is a convention for make, not for the general build,
so it may go away or be done differently in the eventual
'go' command.

The plan is that people will be able to test their code for
rune safety by doing GCFLAGS=-r.

R=golang-dev, bradfitz, lvd
CC=golang-dev
http://codereview.appspot.com/5294042
Sign in to reply to this message.

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