[sr #111383] AC_PROG_GO clobbers GOFLAGS

Sam James <[email protected]> Wed, 4 Feb 2026 17:42:32 -0500 (EST)
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <[email protected]>
--8323329-1714636915-1770244952=:1583747
Content-Type: TEXT/plain; CHARSET=utf-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Disposition: inline

URL:=0A  <https://savannah.gnu.org/support/?111383>=0A=0A                 S=
ummary: AC_PROG_GO clobbers GOFLAGS=0A                   Group: Autoconf=0A=
               Submitter: thesamesam=0A               Submitted: Wed 04 Feb=
 2026 10:42:28 PM UTC=0A                Priority: 5 - Unprioritized=0A     =
           Severity: 3 - Normal=0A                  Status: None=0A        =
         Privacy: Public=0A             Assigned to: None=0A        Origina=
tor Email:=0A             Open/Closed: Open=0A         Discussion Lock: Unl=
ocked=0A        Operating System: None=0A=0A=0A    ________________________=
_______________________________=0A=0AFollow-up Comments:=0A=0A=0A----------=
---------------------------------------------=0ADate: Wed 04 Feb 2026 10:42=
:28 PM UTC By: Sam James <thesamesam>=0A[See also sr #111382 for Algol 68].=
=0A=0AAC_PROG_GO seems to unconditionally clobber GOFLAGS, ignoring any val=
ue set as=0Aan environment variable or argument to configure.=0A=0Aconfigur=
e.ac:=0A=0AAC_INIT([foo],[1.0], [[email protected]], [foo], [])=0A=0AAC_PROG_=
GO=0AAC_OUTPUT=0A=0A=0A=0A$ autoreconf # from master autoconf.git at=0A31eb=
3a33b09099298940c9cb192dc0790eab113c=0A$ export GOFLAGS=3D"-ggdb3 -O2"=0A$ =
./configure=0A$ grep GOFLAGS config.log=0Aac_cv_env_GOFLAGS_set=3Dset=0Aac_=
cv_env_GOFLAGS_value=3D-ggdb3=0AGOFLAGS=3D'-g -O2'=0A=0A=0A=0A=0A=0A=0A=0A=
=0A=0A    _______________________________________________________=0A=0ARepl=
y to this item at:=0A=0A  <https://savannah.gnu.org/support/?111383>=0A=0A_=
______________________________________________=0AMessage sent via Savannah=
=0Ahttps://savannah.gnu.org/=0A
--8323329-1714636915-1770244952=:1583747
Content-Type: APPLICATION/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaYPLWAAKCRCqLAuaBUf3
TkobAQCMcS+aB8Io4ZJbCxmoZTyGp8OPML/CIVBxHf1aiPYnLAEAtA6XK7B843Rw
LL0JX7gY/hEhpGGILwYEFQtZihv8BgU=
=LMvC
-----END PGP SIGNATURE-----

--8323329-1714636915-1770244952=:1583747--