This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Enable libsanitizer just on x86 linux for now


On Tue, 13 Nov 2012, Dodji Seketeli wrote:

> 	* configure.ac: Enable libsanitizer just on x86 linux for now.
> 	* configure: Re-generate.

Note that the preferred approach is the approach used for libatomic and 
libitm, of the toplevel script using a script fragment from the 
subdirectory to determine what architectures are supported - ideally a 
script fragment designed to be shared by toplevel and by the 
subdirectory's own configure script, if the subdirectory has existing case 
statements over targets.  (It would be good to convert more existing 
projects that share the common toplevel to that scheme as well.)

That way, you don't have a toplevel change that needs merging to the src 
repository for every individual change to the systems supported in a 
particular subdirectory.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]