8007387: "sed: RE error: illegal byte sequence" when building images on Mac
Reviewed-by: tbell
diff --git a/makefiles/Images.gmk b/makefiles/Images.gmk
index 2832267..bb737f8 100644
--- a/makefiles/Images.gmk
+++ b/makefiles/Images.gmk
@@ -59,7 +59,7 @@
 	$(ECHO) $(LOG_INFO) Processing $(patsubst $(OUTPUT_ROOT)/%,%,$@)
 	$(MKDIR) -p $(@D)
 	$(RM) $@
-	$(SED) 's/$$//g' $< > $@
+	LC_ALL=C $(SED) 's/$$//g' $< > $@
 	$(CHMOD) 444 $@
 endef