Bug 5294 - uclibc build ignores target CFLAGS and LDFLAGS
Summary: uclibc build ignores target CFLAGS and LDFLAGS
Status: RESOLVED WONTFIX
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: Other Linux
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-07 12:32 UTC by ioctl
Modified: 2013-12-26 21:44 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ioctl 2012-06-07 12:32:31 UTC
When uclibc is building, it does not use flags specified in BR2_TARGET_OPTIMIZATION and BR2_TARGET_LDFLAGS in .config file.

Is seems inconsistent, accounting the fact, that other target libraries use them.

BR version 2012.05
Comment 1 Gustavo Zacarias 2013-12-26 21:44:38 UTC
This is intended behaviour.
*libc builds (glibc, eglibc, uClibc) are usually very sensitive to optimizations and can break in unexpected ways even by tweaking the optimization level (-O?).
If there's a valid reason to set a special compiler flag for some breakage or such please reopen with detailed information.
Thanks.