[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #63712] address-sanitizer-flags should be in C

From: Rik
Subject: [Octave-bug-tracker] [bug #63712] address-sanitizer-flags should be in CFLAGS/CXXFLAGS
Date: Sat, 28 Jan 2023 18:00:26 -0500 (EST)

Follow-up Comment #2, bug #63712 (project octave):

This is guidance from Gentoo

Sometimes, badly behaved Makefile.am files will override user variables such
as CFLAGS. This must not be allowed — see Not Filtering Variables. There are
separate special variables which should be used in these situations — for
setting CFLAGS. for example, a Makefile.am should use AM_CFLAGS so that user
preferences are not ignored.

So, if a Makefile.am contains, say:

You should sed or patch it to use:


As a separate issue, I see that configure.ac is changing CFLAGS occasionally
before doing certain compilation tests.  Maybe that should be looked at.

But, I also agree that WARN_XXX is a weird place to put the address-sanitizer
flags.  Attached is a changeset for review which moves these flags into

(file #54282)


Additional Item Attachment:

File name: xtra_flags.cset                Size:2 KB


Reply to this item at:


Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]