• 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
..
README Loading commit data...
a.h Loading commit data...
arg.h Loading commit data...
arm.c Loading commit data...
buf.c Loading commit data...
build.c Loading commit data...
buildgc.c Loading commit data...
buildgo.c Loading commit data...
buildruntime.c Loading commit data...
goc2c.c Loading commit data...
main.c Loading commit data...
plan9.c Loading commit data...
unix.c Loading commit data...
windows.c Loading commit data...