Bug #77444 [Opn->Csd]: LDFLAGS from config.site is ignored

From: Date: Wed, 24 Jul 2024 22:33:35 +0000
Subject: Bug #77444 [Opn->Csd]: LDFLAGS from config.site is ignored
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-247367@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=77444&edit=1 ID: 77444 Updated by: petk@php.net Reported by: dpa-bugs at aegee dot org Summary: LDFLAGS from config.site is ignored -Status: Open +Status: Closed Type: Bug Package: *Configuration Issues Operating System: Linux PHP Version: 7.1.26 -Assigned To: +Assigned To: petk Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2019-01-11 10:59:33] 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. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=77444&edit=1

« previous php.bugs (#247367) next »