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

Re: Default packages flags

[ quoting fixed, redirected to mailing list ]

On 2013-02-02 Pavel Baculák <baculakovi@gmail.com> wrote:
> 2013/2/2 Andreas Metzler <ametzler@downhill.at.eu.org>:
>> Pavel Baculák <baculak.pavel@post.cz> wrote:
>>> Please,
>>> Is possible to know, which is default flags for packages? Or where can
>>> i find this information? For example in Gentoo or in Sabayon is this
>>> very easy. For Sabayon can I find all flags on the Sabayon's web page
>>> for all packages.

>> (SID)ametzler@argenau:/tmp/TASN/libtasn1-3.2$ dpkg-buildflags
>> CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security

> Thank you very much for answer, but this are system flags. Or I am
> writing mistake?

I would call these the default compiler/linker flags.

> But I neads flags for package, for example in Gento
> this are USE flags.
> As example - mc have possibility USE flags - I found it, when I was
> compiling mc from sources in .../debian/rules
> DEB_CONFIGURE_EXTRA_FLAGS := --enable-vfs-undelfs --with-samba
> --with-x --with-screen=slang --libexecdir='$${prefix}/lib'
> --disable-rpath

> And I need know default flags for packages which are installing by
> using apt-get or aptitude.

> Excuse mi, If I don't understand our reply, bud I now change Gentoo to
> Debian a for any packages I need know "extra flags" ...

Debian does not have an equivalent global mechanism. Optional features
at compile time are set in the respective debian/rules.

cu andreas

`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'

Reply to: