From 0e22e7dac87abb9e0e787586e148ab741aabbbcb Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 4 Mar 2009 18:51:16 +0100 Subject: [PATCH] klibc: build with klcc shared by default, make the initramfs work. --HG-- extra : convert_revision : 3f787beaca0e32cb3dd6ae1a1e8c41b940b8a316 --- templates/klibc/build.diff | 11 +++++++++++ templates/klibc/template | 1 + 2 files changed, 12 insertions(+) create mode 100644 templates/klibc/build.diff diff --git a/templates/klibc/build.diff b/templates/klibc/build.diff new file mode 100644 index 00000000000..c369ecf81a3 --- /dev/null +++ b/templates/klibc/build.diff @@ -0,0 +1,11 @@ +--- klcc/klcc.in.orig 2009-03-04 17:26:30.843743825 +0100 ++++ klcc/klcc.in 2009-03-04 17:26:54.649413394 +0100 +@@ -113,7 +113,7 @@ undef $lang; + + $save_temps = 0; # The -save-temps option + $verbose = 0; # The -v option +-$shared = 0; # Are we compiling shared? ++$shared = 1; # Are we compiling shared? + $debugging = 0; # -g or -p option present? + $strip = 0; # -s option present? + undef $output; # -o option present? diff --git a/templates/klibc/template b/templates/klibc/template index 17f307f09f5..fc1f8f0c5a3 100644 --- a/templates/klibc/template +++ b/templates/klibc/template @@ -19,6 +19,7 @@ subpackages="devel utils" Add_dependency build kernel-headers Add_dependency build bison +Add_dependency build perl pre_configure() {