Fix ld Makefile variable naming: ELF_CLFAGS -> ELF_CFLAGS
Signed-off-by: Jerry Zhang Jian <jerry.zhangjian@sifive.com>
diff --git a/ld/Makefile.am b/ld/Makefile.am
index 49dd3b5..9664d4c 100644
--- a/ld/Makefile.am
+++ b/ld/Makefile.am
@@ -40,12 +40,12 @@
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 10278dd..afd22d4 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -563,11 +563,11 @@
# 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