Re: Important packages that are broken ia64

John Paul Adrian Glaubitz <[email protected]> Mon, 18 Sep 2023 22:42:45 +0200
Newsgroups gmane.linux.debian.ports.ia64
Message-ID <844f7b6ba02bf6a64969e2ab6b2bd0fcd7fb1107.camel@physik.fu-berlin.de>
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

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913