#!/bin/sh
# $Id: openbsd-lld-noleaks,v 1.2 2021/06/12 20:30:14 tom Exp $
# For ncurses, disable leak-checking with OpenBSD 6.x 32-bit, since that uses
# gcc and lld, # and the latter doesn't handle the -g option.
#	https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98946
case `partition` in
*openbsd6*-32)
	echo "WARNING: ignore disable-leaks option, to work around ldd bug"
	no_LEAKS=
	;;
*)
	no_LEAKS=--disable-leaks
	;;
esac
