# build: use \-ffunction-sections \-fdata-sections for the Zig compiler on ARM · gitcafe/zig

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

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

Visibility: public

Requested revision: 2d867223be4139ac55b1be1f5c19eee8a393c62a

Requested commit: 2d867223be4139ac55b1be1f5c19eee8a393c62a

Commit: 2d867223be4139ac55b1be1f5c19eee8a393c62a

Tree: 32873d23bbce1f0bb3436b5a03a6f0e0f3942343

Author: Alex Rønne Petersen

Committer: Andrew Kelley

## Message

```
build: use -ffunction-sections -fdata-sections for the Zig compiler on ARM

See 7daf0b6f4660245ac518c663f8971aad7e540da8; builds for ARM can run into the
same problems due to limited branch range.

```

## Parents

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

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