This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug sim/18762] New: ${LDFLAGS} irgnored when linking sim/arm
- From: "dilyan.palauzov at aegee dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 03 Aug 2015 10:42:59 +0000
- Subject: [Bug sim/18762] New: ${LDFLAGS} irgnored when linking sim/arm
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=18762
Bug ID: 18762
Summary: ${LDFLAGS} irgnored when linking sim/arm
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: sim
Assignee: unassigned at sourceware dot org
Reporter: dilyan.palauzov at aegee dot org
CC: vapier at gentoo dot org
Target Milestone: ---
When building within sim/, common/Make-common.in has the recipe:
run$(EXEEXT): $(SIM_RUN_OBJS) libsim.a $(LIBDEPS)
$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o run$(EXEEXT) \
$(SIM_RUN_OBJS) libsim.a $(EXTRA_LIBS)
However ${LDFLAGS} is not always substituted from ./configure. E.g. when
building the ARMurator, LDFLAGS is empty, despite being set for the other
components (e.g. gold). In turn, linking run ignores ${LDFLAGS}.
Adding
LDFLAGS = @LDFLAGS@
in common/Make-common.in shall solve the problem.
--
You are receiving this mail because:
You are on the CC list for the bug.