Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
aom-rav1e
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
aom-rav1e
Commits
c601db95
Commit
c601db95
authored
May 25, 2010
by
John Koleszar
Committed by
Code Review
May 25, 2010
Browse files
Options
Browse Files
Download
Plain Diff
Merge "configure: detect toolchain if not specified"
parents
4c627f56
98058bcc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
0 deletions
+36
-0
build/make/configure.sh
build/make/configure.sh
+36
-0
No files found.
build/make/configure.sh
View file @
c601db95
...
...
@@ -478,6 +478,42 @@ setup_gnu_toolchain() {
}
process_common_toolchain
()
{
if
[
-z
"
$toolchain
"
]
;
then
uname
=
"
$(
uname
-a
)
"
# detect tgt_isa
case
"
$uname
"
in
*
x86_64
*
)
tgt_isa
=
x86_64
;;
*
i[3456]86
*
)
tgt_isa
=
x86
;;
esac
# detect tgt_os
case
"
$uname
"
in
*
Darwin
\
Kernel
\
Version
\
8
*
)
tgt_isa
=
universal
tgt_os
=
darwin8
;;
*
Darwin
\
Kernel
\
Version
\
9
*
)
tgt_isa
=
universal
tgt_os
=
darwin9
;;
*
Msys
*
|
*
Cygwin
*
)
tgt_os
=
win32
;;
*
Linux
*
|
*
BSD
*
)
tgt_os
=
linux
;;
esac
if
[
-n
"
$tgt_isa
"
]
&&
[
-n
"
$tgt_os
"
]
;
then
toolchain
=
${
tgt_isa
}
-
${
tgt_os
}
-gcc
fi
fi
toolchain
=
${
toolchain
:-
generic
-gnu
}
is_in
${
toolchain
}
${
all_platforms
}
||
enabled force_toolchain
\
...
...
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