diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2007-11-18 11:59:44 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2007-11-18 11:59:44 +0000 |
commit | f6d6295dd9443987aaa2a0d426180febe2e56f93 (patch) | |
tree | e6a17c0ba5bced6871d0f62882e8b3705475501f /gnu | |
parent | 23c1e989a65eb806afb4fc89b68b16b182a68510 (diff) | |
download | src-f6d6295dd9443987aaa2a0d426180febe2e56f93.tar.gz src-f6d6295dd9443987aaa2a0d426180febe2e56f93.zip |
Use LC_ALL=C before awk generating "optionlist"
(and before two other awk calls, just to be safe)
Without it sorting is broken for locales with ASCII collating equivalence
like (v,w) in sv_SE
Notes
Notes:
svn path=/head/; revision=173731
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/cc/cc_tools/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/Makefile b/gnu/usr.bin/cc/cc_tools/Makefile index 8366a8a4144d..8ff177c1c9bf 100644 --- a/gnu/usr.bin/cc/cc_tools/Makefile +++ b/gnu/usr.bin/cc/cc_tools/Makefile @@ -216,15 +216,15 @@ GENSRCS+= tconfig.h CLEANFILES+= cs-tconfig.h # Options optionlist: ${OPT_FILES} - awk -f ${GCCDIR}/opt-gather.awk ${.ALLSRC} > ${.TARGET} + LC_ALL=C awk -f ${GCCDIR}/opt-gather.awk ${.ALLSRC} > ${.TARGET} options.h: optionlist - awk -f ${GCCDIR}/opt-functions.awk \ + LC_ALL=C awk -f ${GCCDIR}/opt-functions.awk \ -f ${GCCDIR}/opth-gen.awk \ < ${.ALLSRC} > ${.TARGET} options.c: optionlist - awk -f ${GCCDIR}/opt-functions.awk \ + LC_ALL=C awk -f ${GCCDIR}/opt-functions.awk \ -f ${GCCDIR}/optc-gen.awk \ -v header_name="config.h system.h coretypes.h tm.h" \ < ${.ALLSRC} > ${.TARGET} |