]> git.pld-linux.org Git - packages/klibc.git/blobdiff - klibc-klcc.patch
- updated to 2.0
[packages/klibc.git] / klibc-klcc.patch
index faf54dd3bffb664a10909c4f4d617838e15937d7..30c923a1c649dcc0df803c08d3101033f9ed8ad5 100644 (file)
@@ -16,19 +16,18 @@ diff -urN klibc-1.1.16.org/klcc/Kbuild klibc-1.1.16/klcc/Kbuild
  
  
  # Generate klcc
-diff -urN klibc-1.1.16.org/klcc/klcc.in klibc-1.1.16/klcc/klcc.in
---- klibc-1.1.16.org/klcc/klcc.in      2006-01-06 07:11:43.000000000 +0100
-+++ klibc-1.1.16/klcc/klcc.in  2006-01-06 19:22:31.481785250 +0100
+--- klibc-2.0/klcc/klcc.in.orig        2012-05-29 23:41:34.000000000 +0200
++++ klibc-2.0/klcc/klcc.in     2012-06-15 21:25:24.514959356 +0200
 @@ -3,22 +3,22 @@
  use IPC::Open3;
  
  # Standard includes
--@includes = ("-I${prefix}/${KCROSS}include/arch/${ARCH}",
+-@includes = ("-I${prefix}/${KCROSS}include/arch/${ARCHDIR}",
 -           "-I${prefix}/${KCROSS}include/bits${BITSIZE}",
 -           "-I${prefix}/${KCROSS}include");
-+@includes = ("-I${includedir}/arch/${ARCH}",
-+           "-I${includedir}/bits${BITSIZE}",
-+           "-I${includedir}");
++@includes = ("-idirafter", "${includedir}/arch/${ARCH}",
++           "-idirafter", "${includedir}/bits${BITSIZE}",
++           "-idirafter", "${includedir}");
  
  # Default optimization options (for compiles without -g)
  @optopt =  @OPTFLAGS;
@@ -59,7 +58,7 @@ diff -urN klibc-1.1.16.org/klcc/klcc.in klibc-1.1.16/klcc/klcc.in
  $debugging = 0;                       # -g or -p option present?
  $strip = 0;                   # -s option present?
  undef $output;                        # -o option present?
-@@ -175,6 +175,7 @@
+@@ -186,6 +186,7 @@
      } elsif ( $a eq '-shared' ) {
        $shared = 1;
      } elsif ( $a eq '-static' ) {
This page took 0.075534 seconds and 4 git commands to generate.