https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125232

            Bug ID: 125232
           Summary: gnattools: do not unset LDFLAGS
           Product: gcc
           Version: 16.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dragon-archer at outlook dot com
                CC: dkm at gcc dot gnu.org
  Target Milestone: ---

Created attachment 64396
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=64396&action=edit
[PATCH] gnattools: do not unset LDFLAGS

Currently, LDFLAGS is set to empty in gnattools/Makefile.in. As a result,
LDFLAGS passed down from upper Makefile is discraded, which leads to linkage
errors because user-provided BOOT_LDFLAGS (e.g. for finding crt2.o) is not
used.

Potential patch is attached.
  • [Bug ada/125232] New: gnatto... dragon-archer at outlook dot com via Gcc-bugs

Reply via email to