This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Pass GDCFLAGS and CCASFLAGS to libphobos subdirs
- From: Iain Buclaw <ibuclaw at gdcproject dot org>
- To: ro at cebitec dot uni-bielefeld dot de
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 7 Dec 2018 20:11:54 +0100
- Subject: Re: Pass GDCFLAGS and CCASFLAGS to libphobos subdirs
- References: <ydda7lh79c4.fsf@CeBiTec.Uni-Bielefeld.DE>
On Fri, 7 Dec 2018 at 14:30, Rainer Orth <ro@cebitec.uni-bielefeld.de> wrote:
>
> When trying to rebuild libphobos with -g3 -O0 for better debugging, I
> noticed that GDCFLAGS weren't passed down as expected. It turned out
> that they are missing from AM_MAKEFLAGS. After I fixed this, the only
> file still compiled with -g -O2 was libdruntime/core/threadasm.S, so I
> added CCASFLAGS, too.
>
> Tested on i386-pc-solaris2.11. Ok for mainline?
>
> Rainer
>
> --
> -----------------------------------------------------------------------------
> Rainer Orth, Center for Biotechnology, Bielefeld University
>
>
> 2018-12-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
>
> * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS, GDCFLAGS.
> * Makefile.in: Regenerate.
>
Thanks, looks good to me.
--
Iain