You don't have to resolve the conflicts between the two libstdc++ libraries. You only have to build your own libtiff.
OK, that's one option too. Probably pretty much the same result as building liblerc against the libstdc++ that Geany uses as I suggested in https://github.com/geany/geany/pull/4094#issuecomment-2525223875 and which works as well.