# stage2: Pass \-mthumb when compiling C/C\+\+ code · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/65ee7909b90fc593ffd1f89777ff019e824eafc9)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 65ee7909b90fc593ffd1f89777ff019e824eafc9

Requested commit: 65ee7909b90fc593ffd1f89777ff019e824eafc9

Commit: 65ee7909b90fc593ffd1f89777ff019e824eafc9

Tree: b5b92896743761488c725ecea6ce53d4ad79cfd8

Author: LemonBoy

Committer: Isaac Freund

## Message

```
stage2: Pass -mthumb when compiling C/C++ code

Apparently the Clang driver requires this flag and ignores the target
triple.

```

## Parents

- [55d235dc389635f16f4c38f70ad685677d04e6e5](https://git.cafe/gitcafe/zig/commit/55d235dc389635f16f4c38f70ad685677d04e6e5?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/65ee7909b90fc593ffd1f89777ff019e824eafc9?format=markdown)
