diff options
author | Mark Wielaard <mark@klomp.org> | 2005-09-11 23:15:57 +0000 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2005-09-11 23:15:57 +0000 |
commit | 9112002816fbf81aa23ac90bb260258e8353f537 (patch) | |
tree | 7386038a87552153ea0c31f455dc3e86daaa36f6 /lib | |
parent | 99c81aa3662702a4b6488363b0a5cf4c30b89d46 (diff) | |
download | classpath-9112002816fbf81aa23ac90bb260258e8353f537.tar.gz |
* lib/gen-classlist.sh.in: Use sort -r to work around bug #21418.
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/gen-classlist.sh.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/gen-classlist.sh.in b/lib/gen-classlist.sh.in index 12845f2cc..b22deced4 100755 --- a/lib/gen-classlist.sh.in +++ b/lib/gen-classlist.sh.in @@ -2,6 +2,8 @@ # @configure_input@ # Make sure sorting is done the same on all configurations +# Note the use of sort -r below. This is done explicitly to work around +# a gcj bug (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21418) LC_ALL=C; export LC_ALL LANG=C; export LANG @@ -12,7 +14,7 @@ echo "Adding java source files from srcdir '@top_srcdir@'." @FIND@ @top_srcdir@/java @top_srcdir@/javax @top_srcdir@/gnu \ @top_srcdir@/org \ @top_srcdir@/external/w3c_dom @top_srcdir@/external/sax \ - -follow -type f -print | sort | grep '\.java$' \ + -follow -type f -print | sort -r | grep '\.java$' \ > ${top_builddir}/lib/classes.1 # Generate files for the VM classes. |