Aurelien Jarno pushed to branch glibc-2.42 at GNU Libc Maintainers / glibc


Commits:
d5f7e88b by Simon Chopin at 2025-07-29T17:20:20+00:00
build: use envvars for CFLAGS rather than configparms (LP: #2115734)

Oddly enough, overriding CFLAGS in configparms leads to weird behaviours
where target-specific CFLAGS are sometimes being ignored. For instance,
some math tests are normally compiled with -mabi=ibmlongdouble on
ppc64el but that flag is dropped if CFLAGS is defined in configparms,
rather than simply adding that flag to the list.

The glibc documentation doesn't actually talk about CFLAGS when
discussion configparms, and the configure script explicitly calls out
CFLAGS as an influential env variable, so let's use that to pass flags
rather than configparms.

- - - - -


1 changed file:

- debian/rules.d/build.mk


View it on GitLab: 
https://salsa.debian.org/glibc-team/glibc/-/commit/d5f7e88be96f881b73294b68b7ea28ab351370b3

-- 
View it on GitLab: 
https://salsa.debian.org/glibc-team/glibc/-/commit/d5f7e88be96f881b73294b68b7ea28ab351370b3
You're receiving this email because of your account on salsa.debian.org.


Reply via email to