diff options
| author | Michael Tuexen <tuexen@fh-muenster.de> | 2020-05-12 01:10:44 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-05-12 08:46:41 +0200 |
| commit | a497a5b4b932c288c1bf5c736258aac4c0e5f7da (patch) | |
| tree | dc3e95d41e170818bb079a9355f843c1a1faf114 /sys | |
| parent | 1670262071a23822b6370b850c78802cd7b30086 (diff) | |
sys/targets: don't remove CrossCFlags
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/targets/targets.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/targets/targets.go b/sys/targets/targets.go index 6dffe9c99..c4dedf73e 100644 --- a/sys/targets/targets.go +++ b/sys/targets/targets.go @@ -220,6 +220,7 @@ var List = map[string]map[string]*Target{ Int64Alignment: 4, CCompiler: "c++", CFlags: []string{"-m32"}, + CrossCFlags: []string{"-m32", "-static"}, NeedSyscallDefine: dontNeedSyscallDefine, }, }, |
