Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
1fab0cd1
Commit
1fab0cd1
authored
Nov 18, 2010
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Makefiles: Don't define _64BIT now that 6c does it by default.
R=rsc CC=golang-dev
https://golang.org/cl/3207041
parent
553a88cf
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
Make.pkg
src/Make.pkg
+1
-2
Makefile
src/pkg/runtime/Makefile
+1
-3
No files found.
src/Make.pkg
View file @
1fab0cd1
...
...
@@ -132,8 +132,7 @@ _cgo_export.o: _cgo_export.c _cgo_export.h
# added _cgo_defun.$O to $OFILES, and added the installed copy of
# package_x.so (built from x.cgo2.c) to $(INSTALLFILES).
RUNTIME_CFLAGS_amd64=-D_64BIT
RUNTIME_CFLAGS=-I"$(GOROOT)/src/pkg/runtime" $(RUNTIME_CFLAGS_$(GOARCH))
RUNTIME_CFLAGS=-I"$(GOROOT)/src/pkg/runtime"
# Have to run gcc with the right size argument on hybrid 32/64 machines.
_CGO_CFLAGS_386=-m32
...
...
src/pkg/runtime/Makefile
View file @
1fab0cd1
...
...
@@ -12,13 +12,11 @@ SIZE_amd64=64
SIZE_arm
=
32
SIZE
=
$
(
SIZE_
$(GOARCH)
)
# Setup CFLAGS. Add -D_64BIT on 64-bit platforms (sorry).
CFLAGS_64
=
-D_64BIT
# TODO(kaib): fix register allocation to honor extern register so we
# can enable optimizations again.
CFLAGS_arm
=
-N
CFLAGS_windows
=
-D__WINDOWS__
CFLAGS
=
-I
$(GOOS)
-I
$(GOARCH)
-I
$(GOOS)
/
$(GOARCH)
-wF
$
(
CFLAGS_
$(
SIZE)
)
$
(
CFLAGS_
$(
GOARCH)
)
$
(
CFLAGS_
$(GOOS)
)
CFLAGS
=
-I
$(GOOS)
-I
$(GOARCH)
-I
$(GOOS)
/
$(GOARCH)
-wF
$
(
CFLAGS_
$(GOARCH)
)
$
(
CFLAGS_
$(GOOS)
)
GOFILES
=
\
debug.go
\
...
...
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