# CMake: remove C/C\+\+ flags override for static executable · gitcafe/zig

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

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

Visibility: public

Requested revision: c2ad0220e0653ba0c481eb65fb468b0dcaba4bac

Requested commit: c2ad0220e0653ba0c481eb65fb468b0dcaba4bac

Commit: c2ad0220e0653ba0c481eb65fb468b0dcaba4bac

Tree: 04828d19e20c80ba8c248b64f773ab317f5f9f75

Author: Eric Joldasov

Committer: Eric Joldasov

## Message

```
CMake: remove C/C++ flags override for static executable

They were introduced in https://github.com/ziglang/zig/pull/3467 and
5b51f41ceed6604b388b63d73360a22d1ea95749 , and become obsolete since
C++-based compiler was removed: all C or C++ sources built by CMake
are just intermediate steps in bootstrapping.

Signed-off-by: Eric Joldasov <bratishkaerik@landless-city.net>

```

## Parents

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

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