From 7af4eb014b2558a06d3cee010368d74ed8d7e01a Mon Sep 17 00:00:00 2001 From: Priit Laes Date: Fri, 9 Mar 2012 11:50:18 +0200 Subject: Fix build under Estonian locale Change-Id: Ifb536403ef302b597864eae1d05aa9e2bb15d4c7 --- build/make/gen_asm_deps.sh | 2 +- libs.mk | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build/make/gen_asm_deps.sh b/build/make/gen_asm_deps.sh index 7c6c5d565..717f87020 100755 --- a/build/make/gen_asm_deps.sh +++ b/build/make/gen_asm_deps.sh @@ -42,7 +42,7 @@ done [ -n "$srcfile" ] || show_help sfx=${sfx:-asm} -includes=$(egrep -i "include +\"?+[a-z0-9_/]+\.${sfx}" $srcfile | +includes=$(LC_ALL=C egrep -i "include +\"?+[a-z0-9_/]+\.${sfx}" $srcfile | perl -p -e "s;.*?([a-z0-9_/]+.${sfx}).*;\1;") #" restore editor state for inc in ${includes}; do diff --git a/libs.mk b/libs.mk index 7e51b31c9..b77276e1b 100644 --- a/libs.mk +++ b/libs.mk @@ -285,17 +285,17 @@ OFFSET_PATTERN:='^[a-zA-Z0-9_]* EQU' ifeq ($(filter icc gcc,$(TGT_CC)), $(TGT_CC)) $(BUILD_PFX)asm_com_offsets.asm: $(BUILD_PFX)$(VP8_PREFIX)common/asm_com_offsets.c.S - grep $(OFFSET_PATTERN) $< | tr -d '$$\#' $(ADS2GAS) > $@ + LC_ALL=C grep $(OFFSET_PATTERN) $< | tr -d '$$\#' $(ADS2GAS) > $@ $(BUILD_PFX)$(VP8_PREFIX)common/asm_com_offsets.c.S: $(VP8_PREFIX)common/asm_com_offsets.c CLEAN-OBJS += $(BUILD_PFX)asm_com_offsets.asm $(BUILD_PFX)$(VP8_PREFIX)common/asm_com_offsets.c.S $(BUILD_PFX)asm_enc_offsets.asm: $(BUILD_PFX)$(VP8_PREFIX)encoder/asm_enc_offsets.c.S - grep $(OFFSET_PATTERN) $< | tr -d '$$\#' $(ADS2GAS) > $@ + LC_ALL=C grep $(OFFSET_PATTERN) $< | tr -d '$$\#' $(ADS2GAS) > $@ $(BUILD_PFX)$(VP8_PREFIX)encoder/asm_enc_offsets.c.S: $(VP8_PREFIX)encoder/asm_enc_offsets.c CLEAN-OBJS += $(BUILD_PFX)asm_enc_offsets.asm $(BUILD_PFX)$(VP8_PREFIX)encoder/asm_enc_offsets.c.S $(BUILD_PFX)asm_dec_offsets.asm: $(BUILD_PFX)$(VP8_PREFIX)decoder/asm_dec_offsets.c.S - grep $(OFFSET_PATTERN) $< | tr -d '$$\#' $(ADS2GAS) > $@ + LC_ALL=C grep $(OFFSET_PATTERN) $< | tr -d '$$\#' $(ADS2GAS) > $@ $(BUILD_PFX)$(VP8_PREFIX)decoder/asm_dec_offsets.c.S: $(VP8_PREFIX)decoder/asm_dec_offsets.c CLEAN-OBJS += $(BUILD_PFX)asm_dec_offsets.asm $(BUILD_PFX)$(VP8_PREFIX)decoder/asm_dec_offsets.c.S else -- cgit v1.2.1