[binutils-gdb] Fix ld Makefile variable naming: ELF_CLFAGS -> ELF_CFLAGS

Alan Modra amodra@sourceware.org
Fri Sep 1 08:30:08 GMT 2023


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=be3bed0696aa3beea2c9d539e08743f14bbe1db1

commit be3bed0696aa3beea2c9d539e08743f14bbe1db1
Author: Jerry Zhang Jian <jerry.zhangjian@sifive.com>
Date:   Fri Sep 1 11:36:25 2023 +0800

    Fix ld Makefile variable naming: ELF_CLFAGS -> ELF_CFLAGS
    
    Signed-off-by: Jerry Zhang Jian <jerry.zhangjian@sifive.com>

Diff:
---
 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


More information about the Binutils-cvs mailing list