Compiler flags: upstream or Fedora ?

Ulrich Drepper drepper at redhat.com
Mon Feb 2 15:06:48 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ralf Corsepius wrote:
> Change your package to use Fedora's flags.

That's certainly not the best answer.

There are three types of compiler command line flags which come from the
Fedora config:

- - general optimization

- - architecture selection

- - other code selection (like security options)

The latter two shouldn't be changed, they should be used as provided by
the build system.

But it is wrong to prevent a package from using different optimization
options if it is obvious that the upstream optimization options have
been carefully chosen.  The options from the build system are in this
area only a good default.

- --
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkmHDAgACgkQ2ijCOnn/RHSV6gCfa5j3ZNMStBtgUlZ5O2i31bvj
VVUAoLae9otkEvYi/aYEE3X4VLQ8eGib
=ZtTY
-----END PGP SIGNATURE-----




More information about the fedora-devel-list mailing list