diff options
author | Ori Bernstein <ori@eigenstate.org> | 2016-05-08 18:14:07 +1200 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2016-05-08 18:14:07 +1200 |
commit | 0060152b535f0376265f0fe46bba45964fe1a8b0 (patch) | |
tree | af48b33b8a414712fcb34f9169ff9db6ff2e9023 /6 | |
parent | 4868e3b769c7b0d4c77c715df641219010be835b (diff) | |
download | mc-0060152b535f0376265f0fe46bba45964fe1a8b0.tar.gz |
We now can build and install on openbsd.
Diffstat (limited to '6')
-rw-r--r-- | 6/gengas.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -373,7 +373,8 @@ static void gentype(FILE *fd, Type *ty) ty->isemitted = 1; b = tydescblob(ty); - b->iscomdat = 1; + if (b->isglobl) + b->iscomdat = 1; writeblob(fd, b); blobfree(b); } |