summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-10-13 03:16:13 +0100
committerMans Rullgard <mans@mansr.com>2012-10-13 18:21:36 +0100
commitb6f8d635f27bd1234508679c93e04f60a36c2f1e (patch)
treed8c8d096cf0b6d56ee3b7c923703beeb406425cf /configure
parent5ab432fa3500c190184263b80c6ad04547770545 (diff)
build: tms470: work around glibc math.h problems
The glibc definitions of INFINITY and NAN do not work with the tms470 compiler, nor do our usual fallbacks. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 3e299092e6..d8a57284c9 100755
--- a/configure
+++ b/configure
@@ -2911,6 +2911,7 @@ test -n "$libc_type" && enable $libc_type
# hacks for compiler/libc/os combinations
if enabled_all tms470 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