summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ldso/ldso/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/ldso/ldso/Makefile b/ldso/ldso/Makefile
index 9014a12ce..46891c768 100644
--- a/ldso/ldso/Makefile
+++ b/ldso/ldso/Makefile
@@ -68,6 +68,9 @@ ifeq ($(strip $(FORCE_SHAREABLE_TEXT_SEGMENTS)),y)
XXFLAGS+=-DFORCE_SHAREABLE_TEXT_SEGMENTS
endif
+#This stuff will not work with -fomit-frame-pointer
+XXFLAGS := $(XXFLAGS:-fomit-frame-pointer=)
+
all: lib
lib:: _dl_progname.h $(OBJS) $(DLINK_OBJS)