@endif@
@ifndef@ BUILDID
-BUILDID @shell@ (hg id || echo "unknown") | sed -e "s/+ /-/;s/ /-/" @shellend@
+BUILDID @shell@ (hg id || echo "unknown") | sed -e "s/[()]//g;s/+ /+/g;s/ /-/g" @shellend@
@endif@
MFLAGS+=BUILDID=$(BUILDID)
@endif@
MFLAGS+=CHECKEDSETTINGS=1
-CFLAGS+=-Wall -g -finline-functions -funroll-loops
+CFLAGS+=-Wall -g -finline-functions -funroll-loops -Werror=format-security
@ifndef@ NOC99
CFLAGS+=-std=c99
@endif@