File flabc-gccflags.patch of Package flabc
diff -up flabc-1.3.0/src/Makefile.orig flabc-1.3.0/src/Makefile --- flabc-1.3.0/src/Makefile.orig 2025-02-06 15:12:40.000000000 +0100 +++ flabc-1.3.0/src/Makefile 2025-03-09 11:13:57.666544926 +0100 @@ -17,8 +17,8 @@ endif # settings for GNU C compiler CC = g++ #CFLAGS = -Wall -g -fpermissive `fltk-config --cxxflags` $(ARCH) -CFLAGS = -Wall -O2 -fpermissive `fltk-config --cxxflags` $(ARCH) $(OSXMINVERSION) -LDFLAGS = `fltk-config --ldflags` -lstdc++ $(ARCH) $(OSXMINVERSION) +# CFLAGS = -Wall -O2 -fpermissive `fltk-config --cxxflags` $(ARCH) $(OSXMINVERSION) +LDFLAGS = `fltk-config --ldflags` -lstdc++ -lX11 -lXext $(ARCH) # installation directories # (adjust to your preferences)