]> git.pld-linux.org Git - packages/klibc.git/blobdiff - klibc-klcc.patch
- build shared binaries by default.
[packages/klibc.git] / klibc-klcc.patch
index 76916680eb2dd01dfdd95949380c8d0e827ba780..8d09ea6ec3d8cdf021408de62953fbe116dacf41 100644 (file)
@@ -1,7 +1,7 @@
 --- klibc-1.0/klcc.in.orig     2005-03-07 22:44:49.000000000 +0100
 +++ klibc-1.0/klcc.in  2005-06-13 21:05:09.000000000 +0200
-@@ -1,22 +1,22 @@
- # -*- perl -*-
+@@ -3,22 +3,22 @@
+ use IPC::Open3;
  
  # Standard includes
 -@includes = ("-I${prefix}/${KCROSS}include/arch/${ARCH}",
  
  # Returns the language (-x option string) for a specific extension.
  sub filename2lang($) {
-@@ -164,6 +164,7 @@
+@@ -113,7 +113,7 @@
+ $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?
+@@ -175,6 +175,7 @@
      } elsif ( $a eq '-shared' ) {
        $shared = 1;
      } elsif ( $a eq '-static' ) {
This page took 0.030382 seconds and 4 git commands to generate.