build/2176: CPPFLAGS and are not saved in Makefile

mkl@pengutronix.de mkl@pengutronix.de
Mon Sep 25 10:18:00 GMT 2006


>Number:         2176
>Category:       build
>Synopsis:       CPPFLAGS 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 10:18:01 UTC 2006
>Closed-Date:
>Last-Modified:
>Originator:     mkl@pengutronix.de
>Release:        GNU gdb 6.5.50.20060925
>Organization:
>Environment:
cross compiling from x86 -> arm
>Description:
The initial configure run doesn't save the CPPFLAGS 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... arm-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 (together with build/2175)
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/x-patch; name="Makefile_in_cppflags.diff"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="Makefile_in_cppflags.diff"

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