Re: Important packages that are broken ia64
Frank Scheiner <[email protected]> Mon, 18 Sep 2023 22:56:09 +0200
| Newsgroups | gmane.linux.debian.ports.ia64 |
|---|---|
| Message-ID | <[email protected]> |
On 18.09.23 22:42, John Paul Adrian Glaubitz wrote: > On Mon, 2023-09-18 at 22:36 +0200, Frank Scheiner wrote: >>> I don't think this patch is acceptable in its current form as it >>> modifies the Makefile globally so that the flag is passed on to >>> the host compiler for all architectures. >> >> Yes, thought about that, too. Know a better solution? Is there a way to >> make this only affecting compilations for ia64? > > You could modify CFLAGS globally in debian/rules specifically for ia64: > > ifneq (,$(filter $(DEB_HOST_ARCH),ia64)) > export DEB_CFLAGS_MAINT_APPEND += -fno-var-tracking > endif That's the other extreme then, everything for ia64 gets compiled with `-fno-var-tracking`, or? Is that more acceptable? Maybe the per-file CFLAGS are also effective when included in the architecture Makefile in `arch/ia64/`? Or maybe we could query the arch from within the two Makefiles and only apply `-fno-var-tracking` when we compile for ia64. I'll have a look into that tomorrow. Cheers, Frank