summaryrefslogtreecommitdiff
path: root/rules.ninja
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2016-12-11 13:49:20 -0800
committerMichael Forney <mforney@mforney.org>2016-12-11 14:01:55 -0800
commit50f5b78310c78d882c1fe620a3d55c0797c9572f (patch)
tree3076dcde3272ee91e62281a228dfbe6433d0ecd9 /rules.ninja
parent41cd318bb5d7796b39258cecb06f7992b6b5401c (diff)
plan9port: Make sure u.h is included first
Otherwise, the system headers get included before u.h is able to define feature test macros.
Diffstat (limited to 'rules.ninja')
-rw-r--r--rules.ninja3
1 files changed, 3 insertions, 0 deletions
diff --git a/rules.ninja b/rules.ninja
index 27cf1219..ae79edb1 100644
--- a/rules.ninja
+++ b/rules.ninja
@@ -53,6 +53,9 @@ rule sed
rule awk
command = awk $expr $in >$out.tmp && mv $out.tmp $out
+rule grep
+ command = grep $expr $in >$out.tmp && mv $out.tmp $out
+
rule tic
command = tic $ticflags $in