Use -mdynamic-no-pic when building non-PIC code with gcc 3.1 on MacOS 10.2 (bug 165851). r=cls.
authorbryner%netscape.com
Sat, 31 Aug 2002 04:32:58 +0000
changeset 3524 34b69743fed093792805f20eff188c7f3c49b510
parent 3523 8d71d58990fde33986c57b6f4c12746468c4b67b
child 3529 d75cd02070ac04685467d82d8fd3967fe7ac8edc
push idunknown
push userunknown
push dateunknown
reviewerscls
bugs165851
Use -mdynamic-no-pic when building non-PIC code with gcc 3.1 on MacOS 10.2 (bug 165851). r=cls.
dbm/src/Makefile.in
--- a/dbm/src/Makefile.in
+++ b/dbm/src/Makefile.in
@@ -58,16 +58,17 @@ endif
 ifeq (,$(filter -DHAVE_SNPRINTF=1,$(DEFS)))
 CSRCS += snprintf.c
 endif
 endif # WINNT
 
 LOCAL_INCLUDES	= -I$(srcdir)/../include
 
 FORCE_STATIC_LIB = 1
+FORCE_USE_PIC = 1
 
 include $(topsrcdir)/config/rules.mk
 
 DEFINES		+= -DMEMMOVE -D__DBINTERFACE_PRIVATE $(SECURITY_FLAG)
 ifeq ($(OS_ARCH), Linux)
 DEFINES         += -D_BSD_SOURCE
 endif