From d1b0dffff4be58782a15ebec6595de2447f63dc2 Mon Sep 17 00:00:00 2001 From: Joakim Tjernlund Date: Sat, 28 May 2005 23:44:06 +0000 Subject: Add Peter Mazinger fini/crt compat patch. Select DL_FINI_CRT_COMPAT to be able to run apps built with 0.9.27. This also renames __uClibc_start_main to __uClibc_main. This compat option should be removed some time after 0.9.28 is released. Let me know if you don't like this change. --- Rules.mak | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Rules.mak') 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) -- cgit v1.2.3