--- Makefile.orig 2025-07-10 05:25:44 UTC +++ Makefile @@ -1,6 +1,7 @@ # fotocx Makefile # # Following commands choose compiler and debug options +ifdef WANT_EXTRA_CXXFLAGS # export CXX=g++ gnu compiler # export CXX=clang++ clang compiler # export DEBUG=x debug build with address checking @@ -27,6 +28,7 @@ else -Wno-format-truncation -Wno-stringop-truncation endif endif +endif PKG_CONFIG ?= pkg-config @@ -34,7 +36,7 @@ CFLAGS = $(CXXFLAGS) $(CPPFLAGS) -c `$(PKG_CONFIG) --cflags gtk+-3.0 --cflags champlain-gtk-0.12` LIBS = `$(PKG_CONFIG) --libs gtk+-3.0` \ - -lrt -lpthread -ltiff -lpng -ljpeg \ + -lrt -lpthread -ltiff -lpng -ljpeg -lexecinfo \ -lclutter-1.0 -lclutter-gtk-1.0 \ -lchamplain-0.12 -lchamplain-gtk-0.12