From b4b653a500199ab6d61318b0b0093567155089cd Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Sun, 18 Dec 2022 19:48:24 -0500 Subject: Remove custom stdint.h and rely on freestanding headers GCC already provides this so we don't need to have our own. Message-Id: --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 5eddead7..8870c7ac 100644 --- a/Makefile.am +++ b/Makefile.am @@ -41,8 +41,9 @@ AM_LDFLAGS = # Compilation flags # +GCC_INSTALL = $(shell LANG=C gcc -print-search-dirs | sed -n -e 's/install: \(.*\)/\1/p') AM_CPPFLAGS += \ - -ffreestanding -nostdinc -imacros config.h + -ffreestanding -nostdinc -imacros config.h -I $(GCC_INSTALL)/include AM_CPPFLAGS += \ -I$(systype) \ -- cgit v1.2.3