aboutsummaryrefslogtreecommitdiff
path: root/binutils/Makefile.am
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2022-10-21 09:33:38 -0700
committerFangrui Song <i@maskray.me>2022-10-21 09:33:38 -0700
commit1f5a3546126b47fd3b7a5fbc4ec5fad1397b726b (patch)
tree6fa8f57495f0939e352edca6850102dd7e719d6c /binutils/Makefile.am
parent2afd002ac6acb01763d643686345cc0c6ad564bd (diff)
downloadgdb-1f5a3546126b47fd3b7a5fbc4ec5fad1397b726b.zip
gdb-1f5a3546126b47fd3b7a5fbc4ec5fad1397b726b.tar.gz
gdb-1f5a3546126b47fd3b7a5fbc4ec5fad1397b726b.tar.bz2
readelf: support zstd compressed debug sections [PR 29640]
Diffstat (limited to 'binutils/Makefile.am')
-rw-r--r--binutils/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/binutils/Makefile.am b/binutils/Makefile.am
index 751fbac..b249af7 100644
--- a/binutils/Makefile.am
+++ b/binutils/Makefile.am
@@ -54,8 +54,8 @@ DEBUGINFOD_LIBS = @DEBUGINFOD_LIBS@
WARN_CFLAGS = @WARN_CFLAGS@
WARN_CFLAGS_FOR_BUILD = @WARN_CFLAGS_FOR_BUILD@
NO_WERROR = @NO_WERROR@
-AM_CFLAGS = $(WARN_CFLAGS) $(ZLIBINC)
-AM_CFLAGS_FOR_BUILD = $(WARN_CFLAGS_FOR_BUILD) $(ZLIBINC)
+AM_CFLAGS = $(WARN_CFLAGS) $(ZLIBINC) $(ZSTD_CFLAGS)
+AM_CFLAGS_FOR_BUILD = $(WARN_CFLAGS_FOR_BUILD) $(ZLIBINC) $(ZSTD_CFLAGS)
LIBICONV = @LIBICONV@
# these two are almost the same program
@@ -256,7 +256,7 @@ objcopy_SOURCES = objcopy.c not-strip.c rename.c $(WRITE_DEBUG_SRCS) $(BULIBS)
strings_SOURCES = strings.c $(BULIBS)
readelf_SOURCES = readelf.c version.c unwind-ia64.c dwarf.c demanguse.c $(ELFLIBS)
-readelf_LDADD = $(LIBCTF_NOBFD) $(LIBINTL) $(LIBIBERTY) $(ZLIB) $(DEBUGINFOD_LIBS) $(MSGPACK_LIBS)
+readelf_LDADD = $(LIBCTF_NOBFD) $(LIBINTL) $(LIBIBERTY) $(ZLIB) $(ZSTD_LIBS) $(DEBUGINFOD_LIBS) $(MSGPACK_LIBS)
elfedit_SOURCES = elfedit.c version.c $(ELFLIBS)
elfedit_LDADD = $(LIBINTL) $(LIBIBERTY)