summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak4
1 files changed, 4 insertions, 0 deletions
diff --git a/Rules.mak b/Rules.mak
index 03ed52ec0..746420e1e 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -307,6 +307,10 @@ ifeq ($(DOPIC),y)
CFLAGS += $(PICFLAG)
endif
+ifeq ($(DL_FINI_CRT_COMPAT),y)
+CFLAGS += -D_DL_FINI_CRT_COMPAT
+endif
+
ASFLAGS = $(CFLAGS)
ifeq ($(UCLIBC_BUILD_NOEXECSTACK),y)
ASFLAGS += $(call check_as,--noexecstack)