This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r259343 - in /branches/gcc-7-branch/gcc/ada: Ch...
- From: sh at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 12 Apr 2018 11:08:35 -0000
- Subject: r259343 - in /branches/gcc-7-branch/gcc/ada: Ch...
Author: sh
Date: Thu Apr 12 11:08:35 2018
New Revision: 259343
URL: https://gcc.gnu.org/viewcvs?rev=259343&root=gcc&view=rev
Log:
Ada: Fix s-oscons.ads generation
The $(GNATLIBCFLAGS) are already included in $(GNATLIBCFLAGS_FOR_C).
We must call the C compiler with the right machine flags. So, add
$(GNATLIBCFLAGS_FOR_C) to $(OSCONS_EXTRACT). For example, on a bi-arch
compiler supporting 32-bit and 64-bit instruction sets we pick otherwise
only one variant due to a missing -m32 or -m64 flag.
gcc/ada
* gcc-interface/Makefile.in (OSCONS_CPP): Remove redundant
$(GNATLIBCFLAGS).
(OSCONS_EXTRACT): Add $(GNATLIBCFLAGS_FOR_C).
Modified:
branches/gcc-7-branch/gcc/ada/ChangeLog
branches/gcc-7-branch/gcc/ada/gcc-interface/Makefile.in