Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2014-09-27 19:57:23 +0400
committerLuca Barbato <lu_zero@gentoo.org>2014-09-27 20:01:44 +0400
commit551746680462538bb5ad7adf55fb1248190428ec (patch)
tree27df3446735ae2a44dedad8d3a8d844c8a4901a7 /configure
parent4e03b2097ca59843ed65424a572b7acd5345f088 (diff)
configure: Provide a safe default for unknonw libcs
Support musl out of box. Amend commit 9d2cee52d37c7340f85a5d41110282aac03e6855 that got wrongly merged in its stead.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 6125bcbc32..4513579c2b 100755
--- a/configure
+++ b/configure
@@ -3658,8 +3658,8 @@ probe_libc(){
eval ${pfx}libc_type=solaris
add_${pfx}cppflags -D__EXTENSIONS__ -D_XOPEN_SOURCE=600
else
- eval ${pfx}libc_type=unknown
- add_${pfx}cppflags -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600
+ eval ${pfx}libc_type=default
+ add_${pfx}cppflags -D_DEFAULT_SOURCE
fi
}