diff options
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/targets/targets.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/targets/targets.go b/sys/targets/targets.go index 6a66d91f7..927efe053 100644 --- a/sys/targets/targets.go +++ b/sys/targets/targets.go @@ -432,6 +432,9 @@ func init() { // which is not used by clang. // Ensure clang does not complain about it. target.CFlags = append(target.CFlags, "-Wno-unused-command-line-argument") + // When building executor for the test OS, clang needs + // to link against the c++ library. + target.CFlags = append(target.CFlags, "-lc++") } } } |
