summaryrefslogtreecommitdiff
path: root/dev-libs/klibc/files/klibc-1.5.7-strip-fix-dash-s.patch
blob: 94a0caee25268bf721ce5adfe65a445cc559104f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Naurp klibc-1.5.7-orig/klcc/klcc.in klibc-1.5.7/klcc/klcc.in
--- klibc-1.5.7-orig/klcc/klcc.in	2007-12-03 01:17:26.000000000 +0100
+++ klibc-1.5.7/klcc/klcc.in	2007-12-03 01:18:39.000000000 +0100
@@ -259,7 +259,7 @@ if ( $operation ne '' ) {
     unlink(@rmobjs);
 
     if ( $strip && !$rv ) {
-	$rv = mysystem($STRIP, @STRIPFLAGS, $output);
+	$rv = mysystem($STRIP, @STRIPFLAGS, $output || 'a.out');
     }
 }