Re: Bug#995717: webkit2gtk: Please update CPPFLAGS on sh3 and sh4

John Paul Adrian Glaubitz <[email protected]> Tue, 5 Oct 2021 23:29:21 +0200
Newsgroups gmane.linux.debian.ports.superh
Message-ID <[email protected]>
Hi Berto!

On 10/5/21 23:25, Alberto Garcia wrote:
> Thanks! I decided to use a different approach:
> 
>        CFLAGS := $(CFLAGS:-O2=-O1)
> 
> -O1 belongs to CFLAGS/CXXFLAGS, not CPPFLAGS, and it's better to
> replace -O2 with -O1 rather than simple append -O1. It also allows
> building with DEB_BUILD_OPTIONS=noopt
> 
> https://salsa.debian.org/webkit-team/webkit/-/commit/6be80f8246b03467a678bc7591eabad82ac49685

Sure. As long as we end up building with -O1, I don't mind the syntax ;-).

Adrian