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
b11740fb
Commit
b11740fb
authored
Sep 22, 2010
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: fixes for native arm build
R=kaib CC=golang-dev
https://golang.org/cl/2254044
parent
a2450c14
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
Make.inc
src/Make.inc
+1
-1
run
test/run
+1
-1
run-arm
test/run-arm
+1
-1
No files found.
src/Make.inc
View file @
b11740fb
...
...
@@ -42,7 +42,7 @@ ifeq ($(GOOS),darwin)
GOARCH
:=
$
{
shell
if
sysctl
machdep
.
cpu
.
extfeatures
|
grep
EM64T
>/
dev
/
null
;
then
echo
amd64
;
else
uname
-
m
|
sed
's/i386/386/'
;
fi
}
else
# Ask uname -m for the processor.
GOARCH
:=
$
{
shell
uname
-
m
|
sed
's/^..86$$/386/; s/^.86$$/386/; s/x86_64/amd64/'
}
GOARCH
:=
$
{
shell
uname
-
m
|
sed
's/^..86$$/386/; s/^.86$$/386/; s/x86_64/amd64/
; s/arm.*/arm/
'
}
endif
endif
...
...
test/run
View file @
b11740fb
...
...
@@ -14,7 +14,7 @@ X386)
;;
Xarm
)
export
A
=
5
export
E
=
${
GORUN
:-
qemu
-arm -cpu cortex-a8
}
export
E
=
"
$GORUN
"
;;
*
)
echo
1>&2 run: unsupported
'$GOARCH'
...
...
test/run-arm
View file @
b11740fb
...
...
@@ -13,7 +13,7 @@ X386)
;;
Xarm
)
export
A
=
5
export
E
=
"
$
{
GORUN
:-
qemu
-arm -cpu cortex-a8
}
"
export
E
=
"
$
GORUN
"
;;
*
)
echo
1>&2 run: unsupported
'$GOARCH'
...
...
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