ref: 220e4331bd4896e1cefabc713326ab28bc781f90
parent: 98919178f41114a185de82b38bf58fb63b6f960d
parent: 9ab65c55d987be33601c6922ce62a1456b122fe2
author: James Zern <jzern@google.com>
date: Fri Oct 30 00:57:32 EDT 2020
Merge "libs.mk: set LC_ALL=C w/egrep invocations"
--- a/libs.mk
+++ b/libs.mk
@@ -420,13 +420,13 @@
# YASM
$(BUILD_PFX)vpx_config.asm: $(BUILD_PFX)vpx_config.h
@echo " [CREATE] $@"
- @egrep "#define [A-Z0-9_]+ [01]" $< \
+ @LC_ALL=C egrep "#define [A-Z0-9_]+ [01]" $< \
| awk '{print $$2 " equ " $$3}' > $@
else
ADS2GAS=$(if $(filter yes,$(CONFIG_GCC)),| $(ASM_CONVERSION))
$(BUILD_PFX)vpx_config.asm: $(BUILD_PFX)vpx_config.h
@echo " [CREATE] $@"
- @egrep "#define [A-Z0-9_]+ [01]" $< \
+ @LC_ALL=C egrep "#define [A-Z0-9_]+ [01]" $< \
| awk '{print $$2 " EQU " $$3}' $(ADS2GAS) > $@
@echo " END" $(ADS2GAS) >> $@
CLEAN-OBJS += $(BUILD_PFX)vpx_config.asm