From fbe33e07285c2915cc0d9b5ff427ec6683c8c385 Mon Sep 17 00:00:00 2001 From: Huan Zhang Date: Mon, 11 Jun 2012 23:17:19 +0200 Subject: Fix libmad compilation on MIPS with newer gcc. FS#12013 Since gcc 4.4 the MIPS port no longer recognizes the "h" asm constraint. It was necessary to remove this constraint in order to avoid generating unpredictable code sequences. We can achieve the same effect using 128-bit types. See also:GCC 4.4 release notes at http://gcc.gnu.org/gcc-4.4/ Change-Id: I713cdf57cde1a989ad960aa441ab1ccf51f1cdc6 --- tools/configure | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/configure') diff --git a/tools/configure b/tools/configure index c008395d7c..7d860683cf 100755 --- a/tools/configure +++ b/tools/configure @@ -3840,6 +3840,9 @@ ${Darch_version} /* Define endianess for the target or simulator platform */ #define ${defendian} 1 +/* Define the GCC version used for the build */ +#define GCCNUM ${GCCNUM} + /* Define this if you build rockbox to support the logf logging and display */ ${use_logf} -- cgit v1.2.3