]> jfr.im git - irc/quakenet/newserv.git/blobdiff - build.mk.in
LUA: Add servername and servernumeric nickpushers.
[irc/quakenet/newserv.git] / build.mk.in
index dc18a8a56212fd3113b0672f5df37eb9d29bcfe8..06318ee9f5537c8ce71f238618f6f5375f312a4a 100644 (file)
@@ -50,7 +50,7 @@ HOOK_ENGINE=old
 @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)
 
@@ -81,7 +81,7 @@ realchecksettings:
 @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@