summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2017-01-09 22:19:01 +0100
committerErik de Castro Lopo <erikd@mega-nerd.com>2017-01-13 21:32:29 +1100
commit55721556161e6ab209f940f5023bc44b4051524a (patch)
tree4065782461e8b5a03aea4aa5ff16af20a8d9af1e /configure.ac
parent6ecd1a2607a337638adb5caa67a61e7719e0e3a4 (diff)
downloadflac-55721556161e6ab209f940f5023bc44b4051524a.tar.gz
configure.ac: relax linux OS detection
Not all linux hosts match the *-pc-linux-gnu wildcard, causing build failures for older glibc versions where we need to link with -lrt for clock_gettime - E.G.: - arm-unknown-linux-musleabihf - powerpc-unknown-linux-gnuspe - bfin-linux-linux-uclibc .. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 070ab357..235d2717 100644
--- a/configure.ac
+++ b/configure.ac
@@ -186,7 +186,7 @@ esac
AM_CONDITIONAL(OS_IS_WINDOWS, test "x$os_is_windows" = xyes)
case "$host" in
- *-pc-linux-gnu)
+ *-linux-*)
sys_linux=true
AC_DEFINE(FLAC__SYS_LINUX)
AH_TEMPLATE(FLAC__SYS_LINUX, [define if building for Linux])