summaryrefslogtreecommitdiff
path: root/onbld/debian/patches/path.patch
blob: 40d81ba8563dc2138459af34a2054b24af0f607f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: explicitly set paths to assembler and m4
 Actually, "aw" want "gas", and bintuils provides symlink "gas" -> "as"

Index: b/usr/src/tools/aw/Makefile
===================================================================
--- a/usr/src/tools/aw/Makefile	2014-03-02 01:31:25.741076183 +0400
+++ b/usr/src/tools/aw/Makefile	2014-03-02 01:32:25.804909069 +0400
@@ -33,11 +33,11 @@
 
 LINTFLAGS += -ux -Xa -errchk=locfmtchk,parentheses
 
-CPPFLAGS +=	-DDEFAULT_AS_DIR='"$(GNU_ROOT)/bin"'
-CPPFLAGS +=	-DDEFAULT_AS64_DIR='"$(GNU_ROOT)/bin"'
-CPPFLAGS +=	-DDEFAULT_M4_DIR='"/usr/ccs/bin"'
+CPPFLAGS +=	-DDEFAULT_AS_DIR='"/usr/bin"'
+CPPFLAGS +=	-DDEFAULT_AS64_DIR='"/usr/bin"'
+CPPFLAGS +=	-DDEFAULT_M4_DIR='"/usr/bin"'
 CPPFLAGS +=	-DDEFAULT_M4LIB_DIR='"/usr/ccs/lib"'
-CPPFLAGS +=	-DDEFAULT_CPP_DIR='"/usr/ccs/lib"'
+CPPFLAGS +=	-DDEFAULT_CPP_DIR='"/usr/bin"'
 
 .KEEP_STATE: