symtab/Makefile: When system wide locale is set (i.e. en_US.UTF-8) then 'read' is ordered after 'readdir' even if separator is set to quotation mark and key set to 2. When C locale is used result is correct.
This commit is contained in:
parent
2a228e8650
commit
810bf5e87a
|
@ -59,6 +59,7 @@
|
|||
*/
|
||||
|
||||
/* NVIC priority levels *************************************************************/
|
||||
|
||||
/* Each priority field holds a priority value, 0-31. The lower the value, the greater
|
||||
* the priority of the corresponding interrupt.
|
||||
*
|
||||
|
|
|
@ -81,7 +81,7 @@ $(MKSYMTAB):
|
|||
|
||||
symtab.c : $(CSVFILES) $(MKSYMTAB)
|
||||
$(Q) rm -f tmp.csv $@
|
||||
$(Q) cat $(CSVFILES) | sort >tmp.csv
|
||||
$(Q) cat $(CSVFILES) | LC_ALL=C sort >tmp.csv
|
||||
$(Q) $(MKSYMTAB) tmp.csv $@
|
||||
$(Q) echo >>$@
|
||||
$(Q) echo >>$@ 'int g_nsymbols = NSYMBOLS;'
|
||||
|
|
Loading…
Reference in New Issue