build/2175: LDFLAGS{,_FOR_TARGET} and are not saved in Makefile

mkl@pengutronix.de mkl@pengutronix.de
Mon Sep 25 09:58:00 GMT 2006


>Number:         2175
>Category:       build
>Synopsis:       LDFLAGS{,_FOR_TARGET} and are not saved in Makefile
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 25 09:58:01 UTC 2006
>Closed-Date:
>Last-Modified:
>Originator:     mkl@pengutronix.de
>Release:        unknown-1.0
>Organization:
>Environment:
cross compiling from x86 -> arm
>Description:
The initial configure run doesn't save the LDFLAGS and LDFLAGS_FOR_TARGET in the Makefile. Thus the configures run later by "make" doesn't know anything about the FLAGS at configure time. Several libs are not found...:

checking for arm-softfloat-linux-gnu-dlltool... arm-softfloat-linux-gnu-dlltool
checking for arm-softfloat-linux-gnu-windres... rm-softfloat-linux-gnu-windres
checking for arm-softfloat-linux-gnu-mig... no
checking for mig... no
checking for main in -lm... yes
checking for wctype... yes
checking for library containing gethostbyname... none required
checking for library containing socketpair... none required
checking for library containing waddstr... no
checking for library containing tgetent... no
configure: error: no termcap library found
make[2]: *** [configure-gdb] Error 1
>How-To-Repeat:

>Fix:
the attated patch fixes this
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/x-patch; name="Makefile_in_ldflags.diff"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="Makefile_in_ldflags.diff"

IwojIFN1Ym1pdHRlZC1CeTogTWFyYyBLbGVpbmUtQnVkZGUsIDIwMDYtMDMtMjAKIyBDb21taXR0
ZWQtQnk6IE1hcmMgS2xlaW5lLUJ1ZGRlCiMKIyBFcnJvcjoKIwojIGNoZWNraW5nIGZvciBhcm0t
c29mdGZsb2F0LWxpbnV4LWdudS1kbGx0b29sLi4uIGFybS1zb2Z0ZmxvYXQtbGludXgtZ251LWRs
bHRvb2wKIyBjaGVja2luZyBmb3IgYXJtLXNvZnR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