generic-poky/meta/recipes-support/gmp
Laurentiu Palcu f7b44fe6db gmp: add configure.ac patch to append user provided compilation flags
gmp configure script is pretty good at auto detecting the ABI and the
tune flags that need to be passes to the compiler. However, the user
provided flags (CFLAGS, CXXFLAGS, CPPFLAGS) take precedence and the ABI
detection may fail, leading to configure errors like the one below:

| configure: error: Oops, mp_limb_t is 32 bits, but the assembler code
| in this configuration expects 64 bits.
| You appear to have set $CFLAGS, perhaps you also need to tell GMP the
| intended ABI, see "ABI and ISA" in the manual.

One solution would be to change the recipe and add the ABI manually, or
let gmp do the job.

So, this patch will:
 * allow the configure process to auto-detect the ABI and tune flags
   properly;
 * append our flags to the detected ones;

[YOCTO #5783]

(From OE-Core rev: 8339b9ac16e7d3206de21a204beffaae5203adbb)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-11 17:15:55 +00:00
..
gmp gmp: updated to 5.1.1 2013-05-12 09:37:30 +01:00
gmp-4.2.1 gmp: update to upstream version 5.1.0 2013-01-07 11:09:40 +00:00
gmp-5.1.1 gmp: add configure.ac patch to append user provided compilation flags 2014-02-11 17:15:55 +00:00
gmp.inc gmp: set SUMMARY and DESCRIPTION 2014-01-02 12:50:23 +00:00
gmp_4.2.1.bb gmp: set SUMMARY and DESCRIPTION 2014-01-02 12:50:23 +00:00
gmp_5.1.1.bb gmp: add configure.ac patch to append user provided compilation flags 2014-02-11 17:15:55 +00:00