Re: Compiling custom debian packages
Jonathan Freiermuth <jon@gnatfart.com> wrote:
>I like to roll my own packages with something like "apt-get --source
>build imlib". I have CFLAGS exported as "-O4 -march=k6", and the build
>process pulls the flags out of the environment. Great. But "apt-get
>source --build netpbm" does not use my CFLAGS.
>
>Is there a standard, debian way to pass on my preferred optimization
>flags to the debian build subsystem ? Or does it vary depending on the
>package ?
No, I'm afraid it varies depending on the package. You might be able to
get pentium-builder to override gcc's default flags.
Cheers,
--
Colin Watson [cjw44@flatline.org.uk]
Reply to: