• Lucio De Re's avatar
    cmd/dist: Plan 9 build needs an additional include path · fd7ddad1
    Lucio De Re authored
    cmd/cc: bv.c imports libc.h twice
    
    When using the Plan 9 compiler, the invocation
    
            #include <../ld/textflag.h>
    
    works for the toolchain, but not for the MACH library.
    
    Module cmd/cc/bv.c includes libc.h and "cc.h", which in
    turn also includes libc.h.  In the Plan 9 context, this
    causes a number of duplicate definitions.
    
    R=golang-dev, rsc, r
    CC=golang-dev
    https://golang.org/cl/13303047
    fd7ddad1
Name
Last commit
Last update
..
Makefile Loading commit data...
acid.c Loading commit data...
bits.c Loading commit data...
bv.c Loading commit data...
cc.h Loading commit data...
cc.y Loading commit data...
com.c Loading commit data...
com64.c Loading commit data...
dcl.c Loading commit data...
doc.go Loading commit data...
dpchk.c Loading commit data...
funct.c Loading commit data...
godefs.c Loading commit data...
lex.c Loading commit data...
lexbody Loading commit data...
mac.c Loading commit data...
macbody Loading commit data...
omachcap.c Loading commit data...
pgen.c Loading commit data...
pswt.c Loading commit data...
scon.c Loading commit data...
sub.c Loading commit data...
y.tab.c Loading commit data...
y.tab.h Loading commit data...