Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 157786

Summary: sys-fs/dosfstools: do NOT ignore user CFLAGS
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Ebuild patch

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2006-12-10 18:10:27 UTC
Ignoring entirely user's CFLAGS is not a good practice, as the user might be trying to use -ggdb, or a specific needed -march value.

The attached patch copes with the optimisations problem by using strip-flags and then appending the largefile cflags as they are used already by the package, to maintain the behaviour.

This patch is incremental to bug #157785.

HTH,
Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-12-10 18:10:46 UTC
Created attachment 103774 [details, diff]
Ebuild patch
Comment 2 SpanKY gentoo-dev 2006-12-13 21:47:14 UTC
fixed in cvs