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
b3825723
Commit
b3825723
authored
Jan 20, 2017
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Merge compiler/libc/os hacks sections
parent
577326d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
14 deletions
+13
-14
configure
configure
+13
-14
No files found.
configure
View file @
b3825723
...
...
@@ -4115,26 +4115,25 @@ test -n "$libc_type" && enable libc_$libc_type
probe_libc host_
test
-n
"
$host_libc_type
"
&&
enable
host_libc_
$host_libc_type
# hacks for compiler/libc/os combinations
case
$libc_type
in
bionic
)
add_compat strtod.o
strtod
=
avpriv_strtod
;;
glibc
)
if
enabled tms470
;
then
CPPFLAGS
=
"-I
${
source_path
}
/compat/tms470
${
CPPFLAGS
}
"
add_cppflags
-D__USER_LABEL_PREFIX__
=
add_cppflags
-D__builtin_memset
=
memset
add_cppflags
-D__gnuc_va_list
=
va_list
-D_VA_LIST_DEFINED
add_cflags
-pds
=
48
# incompatible redefinition of macro
elif
enabled ccc
;
then
add_ldflags
-Wl
,-z,now
# calls to libots crash without this
fi
;;
esac
# hacks for compiler/libc/os combinations
if
enabled_all tms470 libc_glibc
;
then
CPPFLAGS
=
"-I
${
source_path
}
/compat/tms470
${
CPPFLAGS
}
"
add_cppflags
-D__USER_LABEL_PREFIX__
=
add_cppflags
-D__builtin_memset
=
memset
add_cppflags
-D__gnuc_va_list
=
va_list
-D_VA_LIST_DEFINED
add_cflags
-pds
=
48
# incompatible redefinition of macro
fi
if
enabled_all ccc libc_glibc
;
then
add_ldflags
-Wl
,-z,now
# calls to libots crash without this
fi
check_compile_assert flt_lim
"float.h limits.h"
"DBL_MAX == (double)DBL_MAX"
||
add_cppflags
'-I\$(SRC_PATH)/compat/float'
...
...
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