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

Alberto Garcia berto at igalia.com
Tue Oct 5 22:25:07 BST 2021


Control: tags -1 pending

On Mon, Oct 04, 2021 at 06:07:06PM +0200, John Paul Adrian Glaubitz wrote:
>  ifneq (,$(filter $(DEB_HOST_ARCH),sh3 sh4))
> -        CPPFLAGS += -mlra -fno-move-loop-invariants
> +        CPPFLAGS += -O1
>  endif

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

Berto



More information about the Pkg-webkit-maintainers mailing list