# stage1: Unbreak build on FreeBSD · gitcafe/zig

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

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

Visibility: public

Requested revision: 6cd71931cb43c775864553b5a232709fbc771689

Requested commit: 6cd71931cb43c775864553b5a232709fbc771689

Commit: 6cd71931cb43c775864553b5a232709fbc771689

Tree: 458fe83a10f6f40dc778ebf4144f618b8b19de3a

Author: LemonBoy

Committer: Jakub Konka

## Message

```
stage1: Unbreak build on FreeBSD

It turns out that the endianness-detection header delivered with the
softfloat library is extremely brittle and gives wrong results when
targeting FreeBSD (long story short, _BIG_ENDIAN is always defined there
and that breaks the #if defined() chain).

Use our own endianness detection header to work around any potential
problem.

```

## Parents

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

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