From 3368dbc3ed56f8746c74b277c01dfcdf1e0c9c1f Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 12 Feb 2004 08:51:21 +0000 Subject: Based on a problem report and patch from Florian Schirmer, fix a compile problem with mips -- contrary to my expectation gcc on mips _always_ defines __PIC__ which breaks the assumption inherent in my code. This should fix things up. --- ldso/libdl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ldso/libdl/Makefile') diff --git a/ldso/libdl/Makefile b/ldso/libdl/Makefile index b883fc062..55fff3988 100644 --- a/ldso/libdl/Makefile +++ b/ldso/libdl/Makefile @@ -34,7 +34,7 @@ endif XXFLAGS+=$(shell $(CC) -print-search-dirs | sed -ne "s/install: *\(.*\)/-I\1include/gp") XXFLAGS_NOPIC:=$(XXFLAGS) ifeq ($(DOPIC),y) - XXFLAGS += $(PICFLAG) + XXFLAGS += $(PICFLAG) -D__LIBDL_SHARED__ endif ifeq ($(strip $(SUPPORT_LD_DEBUG)),y) XXFLAGS+=-D__SUPPORT_LD_DEBUG__ -- cgit v1.2.3