소스 검색

[Makefile] Don't depend on locale settings when parsing readelf

Simon Gaiser 6 년 전
부모
커밋
6eec7d7c48
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Makefile.rules

+ 1 - 1
Makefile.rules

@@ -113,4 +113,4 @@ quiet_cmd_objcopy = [ $@ ]
 # check_no_reloc
 # check_no_reloc
 # This depends on the output of readelf command.
 # This depends on the output of readelf command.
 quiet_cmd_check_no_reloc = [ $@ ]
 quiet_cmd_check_no_reloc = [ $@ ]
-      cmd_check_no_reloc = readelf -r $^ | grep -q 'There are no relocations in this file.'
+      cmd_check_no_reloc = LC_ALL=C readelf -r $^ | grep -q 'There are no relocations in this file.'