On Thu, Dec 04, 2025 at 09:15:00PM +0100, Claudio Jeker wrote: > symon fails to build on sparc64 because it uses -Wpedantic which base-gcc > does not like. > > cc -O2 -pipe -g -Wall -Wpedantic -Wextra -Wno-unused-parameter -Werror > -I../platform/OpenBSD -I. -o error.o -c error.c > cc1: error: unrecognized command line option "-Wpedantic" > > Just drop -Wpedantic.
Sure. Since it's on the same line, I'd also kill -Werror. either way ok > > See https://cranky.work/sparc64/2025-11-29/sysutils/symon,-main.log > -- > :wq Claudio > > Index: patches/patch-Makefile_inc > =================================================================== > RCS file: patches/patch-Makefile_inc > diff -N patches/patch-Makefile_inc > --- /dev/null 1 Jan 1970 00:00:00 -0000 > +++ patches/patch-Makefile_inc 4 Dec 2025 12:39:08 -0000 > @@ -0,0 +1,14 @@ > +cc1: error: unrecognized command line option "-Wpedantic" > + > +Index: Makefile.inc > +--- Makefile.inc.orig > ++++ Makefile.inc > +@@ -2,7 +2,7 @@ V=2.89 > + > + AR?= ar > + CC?= cc > +-CFLAGS+=-g -Wall -Wpedantic -Wextra -Wno-unused-parameter -Werror > ++CFLAGS+=-g -Wall -Wextra -Wno-unused-parameter -Werror > + INSTALL?=install > + LORDER?=lorder > + TSORT?=tsort >
