diff options
| author | Rangi <remy.oukaour+rangi42@gmail.com> | 2022-03-15 17:29:10 -0400 |
|---|---|---|
| committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2022-03-15 17:29:10 -0400 |
| commit | 76de77fdbbffc50487dcfd6c3a4b42d8820c3716 (patch) | |
| tree | c33de73e9623d69b0ed4e4f312c56b99bd960150 /tools | |
| parent | Rewrite tools/pcm.c to use common.h (diff) | |
| download | pokeyellow-76de77fdbbffc50487dcfd6c3a4b42d8820c3716.tar.gz pokeyellow-76de77fdbbffc50487dcfd6c3a4b42d8820c3716.tar.xz pokeyellow-76de77fdbbffc50487dcfd6c3a4b42d8820c3716.zip | |
Use -flto for all tools
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/Makefile | 2 | ||||
| -rw-r--r-- | tools/common.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile index 59304bee..e291bcd6 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -1,7 +1,7 @@ .PHONY: all clean CC := gcc -CFLAGS := -O3 -std=c11 -Wall -Wextra -pedantic -Wno-missing-field-initializers +CFLAGS := -O3 -flto -std=c11 -Wall -Wextra -pedantic -Wno-missing-field-initializers tools := \ gfx \ diff --git a/tools/common.h b/tools/common.h index a8b69445..38b7cc6d 100644 --- a/tools/common.h +++ b/tools/common.h @@ -5,6 +5,8 @@ #include <stdlib.h> #include <stdint.h> #include <stdbool.h> +#include <stddef.h> +#include <stdnoreturn.h> #include <inttypes.h> #include <string.h> #include <errno.h> |
