[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: addition to debian standards



Matthew Parry <mettw@shoal.net.au> writes:

> All of this discussion about GNU standards only applies to Makefiles,
> not to debian/rules.  It's just unreasonable to expect a maintainer
> to rewrite Makefiles to comply with the GNU coding standards.

But you're expecting them to rewrite the Makefiles to include your
flag in the right places...  (or do you just mean the port
maintainer?)

> All we need is something that:
>     * Makes Debian source dists pentium optimisation compliant
>     * Doesn't mess with the variables in the Makefiles.
>     * Is easy for the maintainers to implement.

The only really easy way I know to do this which is also fairly
foolproof is to put gcc and g++ wrapper scripts in ./debian/bin/ and
then add `pwd`/debian/bin to the path in the right places in
debian/rules.  You can put whatever flags you want in the wrapper
scripts.

(I had to do this in the upcoming powerpc compatible emacs-20.3
package to fix some problems with an ldscript ...)

-- 
Rob Browning <rlb@cs.utexas.edu> PGP=E80E0D04F521A094 532B97F5D64E3930


Reply to: