OSDN Git Service

configure: Move toolchain dependency declarations to a more appropriate place
authorDiego Biurrun <diego@biurrun.de>
Mon, 9 Dec 2013 14:03:22 +0000 (15:03 +0100)
committerDiego Biurrun <diego@biurrun.de>
Mon, 9 Dec 2013 17:41:13 +0000 (18:41 +0100)
configure

index 292c291..b912d86 100755 (executable)
--- a/configure
+++ b/configure
@@ -1552,13 +1552,10 @@ fast_64bit_if_any="alpha ia64 mips64 parisc64 ppc64 sparc64 x86_64"
 fast_clz_if_any="alpha avr32 mips ppc x86"
 fast_unaligned_if_any="ppc x86"
 
-inline_asm_deps="!tms470"
 need_memalign="altivec neon sse"
 
 symver_if_any="symver_asm_label symver_gnu_asm"
 
-log2_deps="!libc_msvcrt"
-
 # subsystems
 dct_select="rdft"
 error_resilience_select="dsputil"
@@ -3424,6 +3421,7 @@ case $libc_type in
         add_compat msvcrt/snprintf.o snprintf=avpriv_snprintf   \
                                      _snprintf=avpriv_snprintf  \
                                      vsnprintf=avpriv_vsnprintf
+        disable log2
         ;;
 esac
 
@@ -4112,6 +4110,7 @@ elif enabled armcc; then
     add_cflags -W${armcc_opt},--diag_suppress=513  # pointer sign
 elif enabled tms470; then
     add_cflags -pds=824 -pds=837
+    disable inline_asm
 elif enabled pathscale; then
     add_cflags -fstrict-overflow -OPT:wrap_around_unsafe_opt=OFF
 elif enabled_any msvc icl; then