Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
fd36cf6b
Commit
fd36cf6b
authored
Oct 20, 2017
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Factorize check_64_bit()
parent
38434a9f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
configure
configure
+6
-6
No files found.
configure
View file @
fd36cf6b
...
...
@@ -3773,7 +3773,7 @@ check_host_cflags $host_cflags_speed
check_64bit
(){
arch32
=
$1
arch64
=
$2
expr
=
$
3
expr
=
$
{
3
:-
'sizeof(void *) > 4'
}
check_code cc
""
"int test[2*(
$expr
) - 1]"
&&
subarch
=
$arch64
||
subarch
=
$arch32
enable
$subarch
...
...
@@ -3788,23 +3788,23 @@ case "$arch" in
enabled shared
&&
enable_weak pic
;;
parisc
)
check_64bit parisc parisc64
'sizeof(void *) > 4'
check_64bit parisc parisc64
enabled shared
&&
enable_weak pic
;;
ppc
)
check_64bit ppc ppc64
'sizeof(void *) > 4'
check_64bit ppc ppc64
enabled shared
&&
enable_weak pic
;;
s390
)
check_64bit s390 s390x
'sizeof(void *) > 4'
check_64bit s390 s390x
enabled shared
&&
enable_weak pic
;;
sparc
)
check_64bit sparc sparc64
'sizeof(void *) > 4'
check_64bit sparc sparc64
enabled shared
&&
enable_weak pic
;;
x86
)
check_64bit x86_32 x86_64
'sizeof(void *) > 4'
check_64bit x86_32 x86_64
if
enabled x86_64
;
then
enabled shared
&&
enable_weak pic
objformat
=
elf64
...
...
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