grep would find binary content

This commit is contained in:
Jérôme Duval 2017-01-30 07:21:19 +01:00 committed by GitHub
parent 3d2f70c527
commit 0d919f41ca

View File

@ -222,7 +222,7 @@ rule ResComp
# considered linker scripts, and thus we can use preprocessor features. # considered linker scripts, and thus we can use preprocessor features.
actions ResComp1 actions ResComp1
{ {
cat "$(2[2-])" | $(CC) -E $(CCDEFS) $(HDRS) - | egrep -v '^#' | $(2[1]) $(RCHDRS) --auto-names -o "$(1)" - cat "$(2[2-])" | $(CC) -E $(CCDEFS) $(HDRS) - | egrep -va '^#' | $(2[1]) $(RCHDRS) --auto-names -o "$(1)" -
} }
actions XRes1 actions XRes1