diff options
author | Bernd Kuhls <berndkuhls@hotmail.com> | 2013-12-29 09:55:55 +0100 |
---|---|---|
committer | Bernd Kuhls <berndkuhls@hotmail.com> | 2014-01-04 22:06:00 +0100 |
commit | b84e69b6e0d4c97398501f14ada51eced18b6063 (patch) | |
tree | bc85a60941ff4a8960f9306217eb73bbe9d52244 /m4 | |
parent | 6f5fac8b07ac5c1dba5e0463a0d1969804f92b6e (diff) |
Support uClibc compilation
partly based on aports from Alpine Linux:
http://code.ohloh.net/file?fid=Up3lAbVglPtyupfNPazFHQYMKM8&cid=Sr-nRbkkE8E&s=&fp=302485&mp=&projSelected=true#L0
Diffstat (limited to 'm4')
-rw-r--r-- | m4/xbmc_arch.m4 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/m4/xbmc_arch.m4 b/m4/xbmc_arch.m4 index 5ae75bcf97..75d25da266 100644 --- a/m4/xbmc_arch.m4 +++ b/m4/xbmc_arch.m4 @@ -2,10 +2,10 @@ AC_DEFUN([XBMC_SETUP_ARCH_DEFINES],[ # host detection and setup case $host in - i*86*-linux-gnu*) + i*86*-linux-gnu*|i*86*-*-linux-uclibc*) AC_SUBST(ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX") ;; - x86_64-*-linux-gnu*) + x86_64-*-linux-gnu*|x86_64-*-linux-uclibc*) AC_SUBST(ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX") ;; i386-*-freebsd*) @@ -23,10 +23,10 @@ case $host in powerpc-apple-darwin*) AC_SUBST(ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_DARWIN -DTARGET_DARWIN_OSX -D_LINUX") ;; - powerpc-*-linux-gnu*) + powerpc-*-linux-gnu*|powerpc-*-linux-uclibc*) AC_SUBST(ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX -D_POWERPC") ;; - powerpc64-*-linux-gnu*) + powerpc64-*-linux-gnu*|powerpc64-*-linux-uclibc*) AC_SUBST(ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX -D_POWERPC64") ;; arm*-*-linux-gnu*) |