Add --symbol-files option to AMBuild configure.
2 # vim: set ts=2 sw=2 tw=99 noet:
9 my ($myself, $path) = fileparse($0);
14 #Go back above build dir
15 chdir(Build::PathFormat('../../..'));
18 our ($root) = getcwd();
22 if (!(-f 'OUTPUT/.ambuild2/graph') || !(-f 'OUTPUT/.ambuild2/vars')) {
24 mkdir('OUTPUT') or die("Failed to create output folder: $!\n");
29 print "Attempting to reconfigure...\n";
30 my $conf_args = '--enable-optimize --breakpad-dump --no-color --symbol-files';
31 if ($argn > 0 && $^O !~ /MSWin/) {
32 $result = `CC=$ARGV[0] CXX=$ARGV[0] python ../build/configure.py $conf_args`;
35 $result = `C:\\Python27\\Python.exe ..\\build\\configure.py $conf_args`;
37 $result = `CC=clang CXX=clang python ../build/configure.py $conf_args`;
42 die("Could not configure: $!\n");
47 my ($file, $time) = (@_);
51 return $mtime > $time;