Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
ffdb855b
Commit
ffdb855b
authored
Sep 28, 2010
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: clear custom variables like GREP_OPTIONS
Fixes #946. R=r, r2 CC=golang-dev
https://golang.org/cl/2137048
parent
2f7a5b33
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
src/Make.inc
src/Make.inc
+13
-0
src/pkg/deps.bash
src/pkg/deps.bash
+2
-0
No files found.
src/Make.inc
View file @
ffdb855b
...
...
@@ -90,6 +90,14 @@ HOST_YFLAGS=-d
HOST_CFLAGS=-ggdb -I"$(GOROOT)/include" -O2 -fno-inline
PWD=$(shell pwd)
# Make environment more standard.
LANG:=
LC_ALL:=C
LC_CTYPE:=C
GREP_OPTIONS:=
GREP_COLORS:=
export LANG LC_ALL LC_CTYPE GREP_OPTIONS GREP_COLORS
go-env:
@echo export GOARCH=$(GOARCH)
@echo export GOOS=$(GOOS)
...
...
@@ -100,6 +108,11 @@ go-env:
@echo export LD="$(LD)"
@echo export OS="$(OS)"
@echo export CFLAGS="$(CFLAGS)"
@echo export LANG="$(LANG)"
@echo export LC_ALL="$(LC_ALL)"
@echo export LC_CTYPE="$(LC_CTYPE)"
@echo export GREP_OPTIONS="$(GREP_OPTIONS)"
@echo export GREP_COLORS="$(GREP_COLORS)"
@echo MAKE_GO_ENV_WORKED=1
# Don'
t
let
the
targets
in
this
file
be
used
...
...
src/pkg/deps.bash
View file @
ffdb855b
...
...
@@ -3,6 +3,8 @@
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
eval
$(
gomake
--no-print-directory
-f
../Make.inc go-env
)
OUT
=
"Make.deps"
TMP
=
"Make.deps.tmp"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment