From be3bed0696aa3beea2c9d539e08743f14bbe1db1 Mon Sep 17 00:00:00 2001 From: Jerry Zhang Jian Date: Fri, 1 Sep 2023 11:36:25 +0800 Subject: [PATCH] Fix ld Makefile variable naming: ELF_CLFAGS -> ELF_CFLAGS Signed-off-by: Jerry Zhang Jian --- ld/Makefile.am | 4 ++-- ld/Makefile.in | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ld/Makefile.am b/ld/Makefile.am index 49dd3b5056e..9664d4c7709 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -40,12 +40,12 @@ am__skipyacc = ZLIB = @zlibdir@ -lz ZLIBINC = @zlibinc@ -ELF_CLFAGS=-DELF_LIST_OPTIONS=@elf_list_options@ \ +ELF_CFLAGS=-DELF_LIST_OPTIONS=@elf_list_options@ \ -DELF_SHLIB_LIST_OPTIONS=@elf_shlib_list_options@ \ -DELF_PLT_UNWIND_LIST_OPTIONS=@elf_plt_unwind_list_options@ WARN_CFLAGS = @WARN_CFLAGS@ NO_WERROR = @NO_WERROR@ -AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) $(JANSSON_CFLAGS) $(ZSTD_CFLAGS) +AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CFLAGS) $(JANSSON_CFLAGS) $(ZSTD_CFLAGS) # We put the scripts in the directory $(scriptdir)/ldscripts. # We can't put the scripts in $(datadir) because the SEARCH_DIR diff --git a/ld/Makefile.in b/ld/Makefile.in index 10278dd6c1b..afd22d479ec 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -563,11 +563,11 @@ am__skipyacc = # case both are empty. ZLIB = @zlibdir@ -lz ZLIBINC = @zlibinc@ -ELF_CLFAGS = -DELF_LIST_OPTIONS=@elf_list_options@ \ +ELF_CFLAGS = -DELF_LIST_OPTIONS=@elf_list_options@ \ -DELF_SHLIB_LIST_OPTIONS=@elf_shlib_list_options@ \ -DELF_PLT_UNWIND_LIST_OPTIONS=@elf_plt_unwind_list_options@ -AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) $(JANSSON_CFLAGS) $(ZSTD_CFLAGS) +AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CFLAGS) $(JANSSON_CFLAGS) $(ZSTD_CFLAGS) # We put the scripts in the directory $(scriptdir)/ldscripts. # We can't put the scripts in $(datadir) because the SEARCH_DIR -- 2.30.2