about summary refs log tree commit diff
path: root/sysdeps/loongarch/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/loongarch/Makefile')
-rw-r--r--sysdeps/loongarch/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/loongarch/Makefile b/sysdeps/loongarch/Makefile
index 43d2f583cd..30a1f4a802 100644
--- a/sysdeps/loongarch/Makefile
+++ b/sysdeps/loongarch/Makefile
@@ -6,6 +6,10 @@ ifeq ($(subdir),elf)
 gen-as-const-headers += dl-link.sym
 endif
 
+ifeq ($(subdir),elf)
+  sysdep-dl-routines += dl-get-cpu-features
+endif
+
 # LoongArch's assembler also needs to know about PIC as it changes the
 # definition of some assembler macros.
 ASFLAGS-.os += $(pic-ccflag)