• Gustavo Niemeyer's avatar
    cgo: don't run cgo when not compiling · b9183b98
    Gustavo Niemeyer authored
    The logic introduced to avoid running cgo when
    introducing _cgo_flags is faulty.  My goal was
    to handle it with the following statement:
    
        -include _cgo_flags
    
    The dash tells make to ignore errors if it can't
    include the file.
    
    What I missed, though, was the fact that it
    *will* attempt to build the file if it knows
    how.
    
    This change will introduce the originally
    intended semantics of not attempting to build
    the file before necessary.
    
    R=rsc
    CC=golang-dev
    https://golang.org/cl/4023069
    b9183b98
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...