Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
x264
Commits
ffea9f51
Commit
ffea9f51
authored
Mar 31, 2012
by
Alexander Prikhodko
Committed by
Fiona Glaser
Apr 23, 2012
Browse files
configure: force select -mXX gcc option for i386/x86-64
Makes multilib compilation more convenient.
parent
f4aefb38
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure
View file @
ffea9f51
...
...
@@ -537,6 +537,8 @@ case $host_cpu in
if
[[
"
$asm
"
==
auto
&&
"
$CFLAGS
"
!=
*
-mfpmath
*
]]
;
then
CFLAGS
=
"
$CFLAGS
-mfpmath=sse -msse"
fi
CFLAGS
=
"-m32
$CFLAGS
"
LDFLAGS
=
"-m32
$LDFLAGS
"
else
# icc on linux has various degrees of mod16 stack support
if
[
$SYS
=
LINUX
]
;
then
...
...
@@ -565,6 +567,7 @@ case $host_cpu in
x86_64
)
ARCH
=
"X86_64"
AS
=
"yasm"
[
$compiler
=
GNU
]
&&
CFLAGS
=
"-m64
$CFLAGS
"
&&
LDFLAGS
=
"-m64
$LDFLAGS
"
if
[
"
$SYS
"
=
MACOSX
]
;
then
ASFLAGS
=
"
$ASFLAGS
-f macho64 -m amd64 -DPIC -DPREFIX"
if
cc_check
''
"-arch x86_64"
;
then
...
...
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