summaryrefslogtreecommitdiff
path: root/data/odcctools/usrbin.diff
blob: e5629d873828a750dca1a104fc06800b75e79892 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
diff -ru odcctools-286/as/driver.c odcctools-286+iPhone/as/driver.c
--- odcctools-286/as/driver.c	2008-07-24 19:20:04.000000000 +0000
+++ odcctools-286+iPhone/as/driver.c	2009-06-30 03:46:53.000000000 +0000
@@ -31,16 +31,16 @@
     const char *LIB =
 #if defined(__OPENSTEP__) || defined(__HERA__) || \
     defined(__GONZO_BUNSEN_BEAKER__) || defined(__KODIAK__)
-		    "../libexec/";
+		    "libexec/";
 #else
-		    "../libexec/gcc/darwin/";
+		    "libexec/gcc/darwin/";
 #endif
     const char *LOCALLIB =
 #if defined(__OPENSTEP__) || defined(__HERA__) || \
     defined(__GONZO_BUNSEN_BEAKER__) || defined(__KODIAK__)
-		    "../local/libexec/";
+		    "local/libexec/";
 #else
-		    "../local/libexec/gcc/darwin/";
+		    "local/libexec/gcc/darwin/";
 #endif
     const char *AS = "/as";
 
@@ -73,6 +73,7 @@
 	p = rindex(prefix, '/');
 	if(p != NULL)
 	    p[1] = '\0';
+        prefix = "/usr/";
 	/*
 	 * Process the assembler flags exactly like the assembler would (except
 	 * let the assembler complain about multiple flags, bad combinations of