Summary: | pygame 1.8.1 tries to build with -O1 and -O2 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Benjamin Peterson <benjamin> |
Component: | [OLD] Library | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | jcallen |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Benjamin Peterson
2009-08-20 06:45:29 UTC
"-Wl,-O1" is not the same as "-O1": -O1 is a flag for the compiler to enable certain optimizations; -Wl,-O1 is a flag for the *linker* to optimize linker output. "-Wl," is a prefix that tells the compiler to pass the rest of the argument unchanged to the linker, except that embedded commas become spaces. From ld.info: `-O LEVEL' If LEVEL is a numeric values greater than zero `ld' optimizes the output. This might take significantly longer and therefore probably should only be enabled for the final binary. At the moment this option only affects ELF shared library generation. Future releases of the linker may make more use of this option. Also currently there is no difference in the linker's behaviour for different non-zero values of this option. Again this may change with future releases. Closing as RESO:INVA as this is not a bug. |