aboutsummaryrefslogtreecommitdiff
path: root/rakelib
diff options
context:
space:
mode:
Diffstat (limited to 'rakelib')
-rw-r--r--rakelib/doc.rake5
-rw-r--r--rakelib/gcc.rake3
2 files changed, 5 insertions, 3 deletions
diff --git a/rakelib/doc.rake b/rakelib/doc.rake
index 54f5d35..7838871 100644
--- a/rakelib/doc.rake
+++ b/rakelib/doc.rake
@@ -19,8 +19,9 @@ rule '.bbl' => '.bcf' do |t|
end
namespace :doc do
- task :tex do
- sh 'pdflatex', '-output-directory', '../build/doc', 'report', chdir: 'doc'
+ task tex: 'build/doc' do |t|
+ sh 'pdflatex', '-output-directory', "../#{t.prerequisites.first}", 'report',
+ chdir: 'doc'
end
end
diff --git a/rakelib/gcc.rake b/rakelib/gcc.rake
index 2b8bbfb..3f36ce9 100644
--- a/rakelib/gcc.rake
+++ b/rakelib/gcc.rake
@@ -84,9 +84,10 @@ namespace :gcc do
configure_options = [
"--prefix=#{File.realpath HOST_INSTALL}",
- '--enable-languages=c,c++,elna',
+ '--enable-languages=c,c++,jit,elna',
'--disable-bootstrap',
'--disable-multilib',
+ '--enable-host-shared',
'--with-system-zlib',
"--target=#{build_target}",
"--build=#{build_target}",