ref: 9ab65c55d987be33601c6922ce62a1456b122fe2
parent: 89ddf6f32a94c636ac9e6de4096295a058269222
author: James Zern <jzern@google.com>
date: Thu Oct 29 11:46:21 EDT 2020
libs.mk: set LC_ALL=C w/egrep invocations this guarantees consistent interpretation of the character ranges BUG=webm:1711 Change-Id: Ia9123f079cc7ac248b9eff4d817e2e103d627b2b
--- 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