[Pdbg] [PATCH] Makefile.am: Remove -DHAVE_LITTLE_ENDIAN
Alistair Popple
alistair at popple.id.au
Thu Aug 30 10:36:31 AEST 2018
Commit 77158819158d ("device: remove use of ccan's endian") converted to using
libc functions for providing endian conversion. These don't rely on having
HAVE_[BIG|LITTLE]_ENDIAN defined so remove the definitions.
Signed-off-by: Alistair Popple <alistair at popple.id.au>
---
Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 571660d..f54b172 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -87,8 +87,8 @@ pdbg_CFLAGS = -I$(top_srcdir)/libpdbg -Wall -Werror -DGIT_SHA1=\"${GIT_SHA1}\" \
lib_LTLIBRARIES = libpdbg.la libfdt.la
-libfdt_la_CFLAGS = -I$(top_srcdir)/libfdt -DHAVE_LITTLE_ENDIAN
-libpdbg_la_CFLAGS = -I$(top_srcdir)/libfdt -DHAVE_LITTLE_ENDIAN -Wall -Werror
+libfdt_la_CFLAGS = -I$(top_srcdir)/libfdt
+libpdbg_la_CFLAGS = -I$(top_srcdir)/libfdt -Wall -Werror
libfdt_la_SOURCES = \
libfdt/fdt.c \
--
2.11.0
More information about the Pdbg
mailing list