Pass GDCFLAGS and CCASFLAGS to libphobos subdirs
Rainer Orth
ro@CeBiTec.Uni-Bielefeld.DE
Fri Dec 7 13:30:00 GMT 2018
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libphobos-gdcflags-subdirs.patch
Type: text/x-patch
Size: 724 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20181207/834e5d61/attachment.bin>
More information about the Gcc-patches
mailing list