This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATHCH] Disable inline asm for in-tree mpfr (PR69134)
- From: Marc Glisse <marc dot glisse at inria dot fr>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: Bernd Edlinger <bernd dot edlinger at hotmail dot de>, gcc-patches at gcc dot gnu dot org, Richard Biener <rguenther at suse dot de>
- Date: Sun, 20 Mar 2016 13:18:32 +0100 (CET)
- Subject: Re: [PATHCH] Disable inline asm for in-tree mpfr (PR69134)
- Authentication-results: sourceware.org; auth=none
- References: <HE1PR07MB0905C105ACF251FCE1780826E4F30 at HE1PR07MB0905 dot eurprd07 dot prod dot outlook dot com> <568BBDF7 dot 8040300 at redhat dot com> <HE1PR07MB090587484749F80CBD81F67CE4F30 at HE1PR07MB0905 dot eurprd07 dot prod dot outlook dot com> <9FFD837C-4FE2-405D-B1C6-94770F8BCA9C at suse dot de> <alpine dot DEB dot 2 dot 20 dot 1603192107570 dot 1799 at laptop-mg dot saclay dot inria dot fr> <AM4PR07MB1571AD75E6792EEFB3634852E48E0 at AM4PR07MB1571 dot eurprd07 dot prod dot outlook dot com> <alpine dot DEB dot 2 dot 20 dot 1603201033510 dot 6937 at laptop-mg dot saclay dot inria dot fr> <AM4PR07MB1571B87CB0F349871CFC4117E48E0 at AM4PR07MB1571 dot eurprd07 dot prod dot outlook dot com> <alpine dot DEB dot 2 dot 20 dot 1603201133330 dot 7400 at laptop-mg dot saclay dot inria dot fr> <87zittuzlf dot fsf at linux-m68k dot org>
- Reply-to: gcc-patches at gcc dot gnu dot org
On Sun, 20 Mar 2016, Andreas Schwab wrote:
Marc Glisse <marc.glisse@inria.fr> writes:
For most packages, providing CFLAGS for configure is enough, you don't
have to give them *again* to make.
The toplevel GCC Makefile needs to pass down any CFLAGS setting that has
been passed in by the user.
Yes, and passing them down to GMP's configure is fine, GMP writes them
down in its Makefile and uses them just fine. Passing them again when
calling make in GMP is redundant and in this case breaks things.
Or do you mean that it is supported, from gcc's directory, to call:
make configure-stage1-gmp
make all-stage1-gmp CFLAGS="something new"
? I don't mind if things break for a user trying to do that.
--
Marc Glisse