# std: ignore \-fmacro-prefix-map flag when parsing NIX_CFLAGS_COMPILE · gitcafe/zig

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

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

Visibility: public

Requested revision: f3db3a087ef5b51880498b5a363c3741743e8020

Requested commit: f3db3a087ef5b51880498b5a363c3741743e8020

Commit: f3db3a087ef5b51880498b5a363c3741743e8020

Tree: 2f0c36f716972ed1d2d7424a7127a16e35cfdfdc

Author: Jakub Konka

Committer: Andrew Kelley

## Message

```
std: ignore -fmacro-prefix-map flag when parsing NIX_CFLAGS_COMPILE

Since we ignore this flag in `clang_options_data.zig`, it makes
sense to ignore it for Nix as well. One thing I've been thinking about
is if it would make sense to somehow use `clang_options_data.zig` as
source of truth for handling Nix cflags too rather than slap more
hard-coded escape hatches.

```

## Parents

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

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