Commit 7d8c7b26 by Ian Lance Taylor

runtime: build testprogcgo with -pthread

    
    Building this test with gccgo requires an explicit -pthread option to
    be passed to the C compiler, so that it links against -lpthread.
    This test is not built today, but it will be soon with a future patch.
    
    Reviewed-on: https://go-review.googlesource.com/46451

From-SVN: r249555
parent b6d03af0
f70ef19badafb85b1caa72b51b0082deb48d433a
bbc4f30a027ee09475d08aa4aeed1f2f7067e2e9
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.
......@@ -7,6 +7,9 @@
package main
/*
#cgo CFLAGS: -pthread
#cgo LDFLAGS: -pthread
#include <pthread.h>
void go_callback();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment