build: Remove --no-dynamic-linker and -static flags for compat
diff --git a/common/common.mk b/common/common.mk
index 3a3e9836..5fb5dca4 100644
--- a/common/common.mk
+++ b/common/common.mk
@@ -185,27 +185,21 @@ endif
ifeq ($(TARGET),uefi-x86-64)
override LDFLAGS_FOR_TARGET += \
-m elf_x86_64 \
- -static \
-pie \
- --no-dynamic-linker \
-z text
endif
ifeq ($(TARGET),uefi-ia32)
override LDFLAGS_FOR_TARGET += \
-m elf_i386 \
- -static \
-pie \
- --no-dynamic-linker \
-z text
endif
ifeq ($(TARGET),uefi-aarch64)
override LDFLAGS_FOR_TARGET += \
-m aarch64elf \
- -static \
-pie \
- --no-dynamic-linker \
-z text
endif
@@ -213,9 +207,7 @@ ifeq ($(TARGET),uefi-riscv64)
override LDFLAGS_FOR_TARGET += \
-m elf64lriscv \
--no-relax \
- -static \
-pie \
- --no-dynamic-linker \
-z text
endif
@@ -223,9 +215,7 @@ ifeq ($(TARGET),uefi-loongarch64)
override LDFLAGS_FOR_TARGET += \
-m elf64loongarch \
--no-relax \
- -static \
-pie \
- --no-dynamic-linker \
-z text
endif
