[Devel] Re: debian rules overwrites CFLAGS

Juha Heinanen jh at tutpro.com
Wed Dec 20 06:30:33 CET 2006


Dan Pascu writes:
 > 
 > I do not know where the problem lies but the test you mentioned above 
 > fails spectacularly for me, as I get all the athlon64 flags even though I 
 > compile on an Intel P4 32 bits. To be more exact I get these flags passed 
 > to gcc when compiling directly with make (not via debuild):
 > 
 > -minline-all-stringops -falign-loops -ftree-vectorize -mtune=athlon64
 > 
 > which IMO is wrong in my case. I have raised this issue some time ago here 
 > on this list but nobody answered so I gave up. Still -mtune=athlon64 is 
 > not the right choice for an Intel P4 32 bits IMO.

my suggestion is to greatly simplify the CFLAGS choices in
Makefile.defs.  i propose that we don't use any pc architecture specific
options, because they may lead to errors and prevent running the
binaries between different pc architectures.

-- juha



More information about the Devel mailing list