mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Removed usage of "sort", which can lead to undeterministic behavior on mingw & cygwin platforms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29532 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cf65fb6503
commit
de9c02b171
@ -33,7 +33,7 @@ GenLibDeps = $(PROJ_SRC_ROOT)/utils/GenLibDeps.pl
|
||||
|
||||
$(LibDeps): $(GenLibDeps) $(LibDir) $(wildcard $(LibDir)/*.a $(LibDir)/*.o)
|
||||
$(Echo) "Regenerating LibDeps.txt"
|
||||
$(Verb) $(GenLibDeps) -flat $(LibDir) $(NM_PATH) | sort > $(LibDeps)
|
||||
$(Verb) $(GenLibDeps) -flat $(LibDir) $(NM_PATH)
|
||||
|
||||
# Find all the cyclic dependencies between various LLVM libraries, so we
|
||||
# don't have to process them at runtime.
|
||||
|
@ -29,7 +29,7 @@ sub find_all_cycles;
|
||||
# Read our dependency information.
|
||||
while (<>) {
|
||||
chomp;
|
||||
my ($module, $dependency_str) = /^([^:]*): ?(.*)$/;
|
||||
my ($module, $dependency_str) = /^\s*([^:]+):\s*(.*)\s*$/;
|
||||
die "Malformed data: $_" unless defined $dependency_str;
|
||||
my @dependencies = split(/ /, $dependency_str);
|
||||
$DEPS{$module} = \@dependencies;
|
||||
|
@ -275,7 +275,7 @@ sub load_dependencies {
|
||||
$DEPENDENCIES_LOADED = 1;
|
||||
while (<DATA>) {
|
||||
# Parse our line.
|
||||
my ($libs, $deps) = /^\s*([^:]+):\s+(.*)\s*$/;
|
||||
my ($libs, $deps) = /^\s*([^:]+):\s*(.*)\s*$/;
|
||||
die "Malformed dependency data" unless defined $deps;
|
||||
my @libs = split(' ', $libs);
|
||||
my @deps = split(' ', $deps);
|
||||
|
Loading…
Reference in New Issue
Block a user