diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-02-12 08:51:21 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-02-12 08:51:21 +0000 |
commit | 3368dbc3ed56f8746c74b277c01dfcdf1e0c9c1f (patch) | |
tree | 6ad5d5b2f06e8313b993233fddb244546cd1fb42 /ldso/libdl/Makefile | |
parent | 9b906508889607b50e2b636bdf5602cad903fc68 (diff) |
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.
Diffstat (limited to 'ldso/libdl/Makefile')
-rw-r--r-- | ldso/libdl/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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__ |