[Buildroot] [buildroot 0001612]: TARGET_CONFIGURE_OPTS redefine CC with TARGET_CFLAGS but not TARGET_LDFLAGS

bugs at busybox.net bugs at busybox.net
Tue Nov 27 14:13:27 UTC 2007


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=1612 
====================================================================== 
Reported By:                ikonst
Assigned To:                buildroot
====================================================================== 
Project:                    buildroot
Issue ID:                   1612
Category:                   Architecture Specific
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             11-27-2007 06:13 PST
Last Modified:              11-27-2007 06:13 PST
====================================================================== 
Summary:                    TARGET_CONFIGURE_OPTS redefine CC with TARGET_CFLAGS
but not TARGET_LDFLAGS
Description: 
In package/Makefile.in, we have:
TARGET_CONFIGURE_OPTS= ...
               CC="$(TARGET_CROSS)gcc $(TARGET_CFLAGS)" \

So, instead of passing CFLAGS=$(TARGET_CFLAGS), we define it as part of
the CC execution string, which is fine. However, we don't pass
TARGET_LDFLAGS here, which is just as important -- in particular for
external toolchains, where the LDFLAGS are necessary to link with
$(STAGING_DIR)/lib.
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-27-07 06:13  ikonst         New Issue                                    
11-27-07 06:13  ikonst         Status                   new => assigned     
11-27-07 06:13  ikonst         Assigned To               => buildroot       
11-27-07 06:13  ikonst         File Added: target_cc_with_ldflags.patch         
          
======================================================================




More information about the buildroot mailing list