Skip to content

ltmain: pass through -fno-lto and -ffixed=* - #12

Closed
henderkes wants to merge 1 commit into
autotools-mirror:masterfrom
henderkes:master
Closed

henderkes wants to merge 1 commit into
autotools-mirror:masterfrom
henderkes:master

Conversation

@henderkes

Copy link
Copy Markdown
Contributor

I want to use lto in php with gcc (using global register variables), but libtool currently doesn't pass -ffixed* through to so's, so they fail to link.

-fno-lto is passed through just so that an explicit disable can't result in lto being disabled for executables, but enabled for shared libraries.

@henderkes

Copy link
Copy Markdown
Contributor Author

see: php/php-src#23602 (comment)

@ileanadumitrescu95

Copy link
Copy Markdown
Contributor

Thank you for the patch and submitting this via libtool-patches@gnu.org! It has been applied in Savannah:
4f47d5565ff3324c3d300a2ae318c9f9981af227

@henderkes henderkes closed this Sep 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants