[done] cpu=i686 allowd for x86_64?

General talk about packaging procedures and packages.
Post Reply
User avatar
damNageHack
Posts: 663
Joined: 24. Sep 2009, 17:07

[done] cpu=i686 allowd for x86_64?

Post by damNageHack »

http://www.salixos.org/wiki/index.php/Packaging_rules#Package_rules wrote: * All packages compiled for the x86 architecture should be compiled with CFLAGS="-O2 -march=i486 -mtune=i686" and/or CXXFLAGS="-O2 -march=i486 -mtune=i686", unless a "reasonable" condition exists to do otherwise.

* All packages compiled for the x86_64 architecture should be compiled with CFLAGS="-O2 -fPIC" and/or CXXFLAGS="-O2 -fPIC", unless a "reasonable" condition exists to do otherwise.
What does "reasonable" mean here? A build script directly got from Zenwalk for apache-ant uses cpu=i686, can i reuse it in Salix64?
Last edited by damNageHack on 1. Jan 2010, 19:41, edited 1 time in total.
Image
This is the oppinion of the author, it does not force you to share and is signed automatically.
You are free to keep them all errors for your own. Linux is the best game I ever played.
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: cpu=i686 allowd for x86_64?

Post by thenktor »

No :) You cannot build x86_64 packages with i686 as arch.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
Post Reply