php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77444 LDFLAGS from config.site is ignored
Submitted: 2019-01-11 10:59 UTC Modified: 2024-07-24 22:33 UTC
Votes:2
Avg. Score:4.0 ± 1.0
Reproduced:0 of 0 (0.0%)
From: dpa-bugs at aegee dot org Assigned: petk (profile)
Status: Closed Package: *Configuration Issues
PHP Version: 7.1.26 OS: Linux
Private report: No CVE-ID: None
 [2019-01-11 10:59 UTC] dpa-bugs at aegee dot org
Description:
------------
Per http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Site-Defaults.html#Site-Defaults when I put in /usr/local/etc/config.site the text “LDFLAGS=-Wl,-O1,-s” all autoconf software must use that LDFLAGS value.

php’s ./configure puts the correct, extracted LDFLAGS value from config.site in ./config.nice, but not in the Makefile or config.status.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2024-07-24 22:33 UTC] petk@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: petk
 [2024-07-24 22:33 UTC] petk@php.net
Hello, in upcoming PHP-8.4 there were many fixes done also in this direction to be able to override the Autoconf global variables like CPPFLAGS, CFLAGS, LDFLAGS and LIBS. This has been tested and the additional LDFLAGS get appended to the PHP's EXTRA_LDFLAGS and EXTRA_LDFLAGS_PROGRAM when using CONFIG_SITE. Please report back in case you're still experiencing this issue or similar at https://github.com/php/php-src/issues

Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC