Bug 698248 - Remove unused FORCE_USE_PIC variable; r=khuey

This commit is contained in:
Gregory Szorc 2011-11-01 15:45:23 -07:00
parent 56136d8399
commit f9737cefa1
57 changed files with 0 additions and 89 deletions

View File

@ -44,7 +44,6 @@ include $(DEPTH)/config/autoconf.mk
MODULE = browserabout
LIBRARY_NAME = browserabout_s
FORCE_STATIC_LIB = 1
FORCE_USE_PIC = 1
ifndef MOZ_MEMORY
USE_STATIC_LIBS = 1
endif

View File

@ -48,7 +48,6 @@ LIBRARY_NAME = browserdir_s
DIRS = tests
FORCE_STATIC_LIB = 1
FORCE_USE_PIC = 1
# Because we are an application component, link against the CRT statically
# (on Windows, but only if we're not building our own CRT for jemalloc)

View File

@ -44,7 +44,6 @@ include $(DEPTH)/config/autoconf.mk
MODULE = browser_feeds
LIBRARY_NAME = browser_feeds_s
FORCE_STATIC_LIB = 1
FORCE_USE_PIC = 1
ifndef MOZ_MEMORY
USE_STATIC_LIBS = 1
endif

View File

@ -44,7 +44,6 @@ include $(DEPTH)/config/autoconf.mk
MODULE = migration
LIBRARY_NAME = migration_s
FORCE_STATIC_LIB = 1
FORCE_USE_PIC = 1
ifndef MOZ_MEMORY
USE_STATIC_LIBS = 1
endif

View File

@ -45,7 +45,6 @@ include $(DEPTH)/config/autoconf.mk
MODULE = privatebrowsing
LIBRARY_NAME = privatebrowsing_s
FORCE_STATIC_LIB = 1
FORCE_USE_PIC = 1
ifndef MOZ_MEMORY
USE_STATIC_LIBS = 1
endif

View File

@ -44,7 +44,6 @@ include $(DEPTH)/config/autoconf.mk
MODULE = shellservice
FORCE_STATIC_LIB = 1
FORCE_USE_PIC = 1
ifndef MOZ_MEMORY
USE_STATIC_LIBS = 1
endif

View File

@ -46,7 +46,6 @@ MODULE = chrome
LIBRARY_NAME = chrome_s
LIBXUL_LIBRARY = 1
FORCE_STATIC_LIB = 1
FORCE_USE_PIC = 1
EXPORTS_NAMESPACES = mozilla/chrome

View File

@ -79,7 +79,6 @@ endif # WINNT
LOCAL_INCLUDES = -I$(srcdir)/../include
FORCE_STATIC_LIB = 1
FORCE_USE_PIC = 1
include $(topsrcdir)/config/rules.mk

View File

@ -78,7 +78,5 @@ CPPSRCS = \
FORCE_STATIC_LIB = 1
LIBXUL_LIBRARY = 1
# This library is used by other shared libs in a static build
FORCE_USE_PIC = 1
include $(topsrcdir)/config/rules.mk

View File

@ -241,8 +241,6 @@ endif
LOCAL_INCLUDES += -I$(srcdir)
FORCE_STATIC_LIB = 1
# This library is used by other shared libs in a static build
FORCE_USE_PIC = 1
include $(topsrcdir)/config/rules.mk

View File

@ -171,8 +171,6 @@ EXPORTS = pixman.h pixman-version.h
LOCAL_INCLUDES += -I$(srcdir) -I$(srcdir)/../../cairo/src
FORCE_STATIC_LIB = 1
# This library is used by other shared libs in a static build
FORCE_USE_PIC = 1
include $(topsrcdir)/config/config.mk

View File

@ -73,8 +73,6 @@ EXPORTS_harfbuzz = \
LOCAL_INCLUDES += -I$(srcdir)
FORCE_STATIC_LIB = 1
# This library is used by other shared libs in a static build
FORCE_USE_PIC = 1
include $(topsrcdir)/config/rules.mk

View File

@ -79,8 +79,6 @@ EXPORTS = \
LOCAL_INCLUDES += -I$(srcdir)
FORCE_STATIC_LIB = 1
# This library is used by other shared libs in a static build
FORCE_USE_PIC = 1
include $(topsrcdir)/config/rules.mk

View File

@ -56,8 +56,6 @@ endif
CFLAGS := $(filter-out -pedantic,$(CFLAGS))
FORCE_STATIC_LIB = 1
# This library is used by other shared libs
FORCE_USE_PIC = 1
include $(topsrcdir)/config/rules.mk

View File

@ -49,8 +49,6 @@ EXPORT_LIBRARY = 1
GRE_MODULE = 1
LIBXUL_LIBRARY = 1
IS_COMPONENT = 1
# This library is used by other shared libs in a static build
FORCE_USE_PIC = 1
XPIDLSRCS = \
nsIFontEnumerator.idl \

View File

@ -56,8 +56,6 @@ endif
# we don't want the shared lib, but we want to force the creation of a static lib.
FORCE_STATIC_LIB = 1
# This library is used by other shared libs in a static build
FORCE_USE_PIC = 1
include $(topsrcdir)/config/rules.mk

View File

@ -52,8 +52,6 @@ LOCAL_INCLUDES += $(MOZ_QT_CFLAGS)
# we don't want the shared lib, but we want to force the creation of a static lib.
FORCE_STATIC_LIB = 1
# This library is used by other shared libs in a static build
FORCE_USE_PIC = 1
DIRS = public

View File

@ -71,7 +71,6 @@ CPPSRCS = \
$(NULL)
FORCE_STATIC_LIB = 1
FORCE_USE_PIC = 1
USE_STATIC_LIBS = 1
LOCAL_INCLUDES += -I$(srcdir)/../src

View File

@ -64,7 +64,6 @@ LOCAL_INCLUDES += -I$(srcdir)/.. \
CPPSRCS = $(INTL_UNICHARUTIL_UTIL_LCPPSRCS)
FORCE_STATIC_LIB = 1
FORCE_USE_PIC = 1
include $(topsrcdir)/config/rules.mk

View File

@ -69,8 +69,6 @@ CPPSRCS += \
endif
FORCE_STATIC_LIB = 1
# This library is used by other shared libs in a static build
FORCE_USE_PIC = 1
LOCAL_INCLUDES += \
-I$(srcdir)/../../style \

View File

@ -80,8 +80,6 @@ EXPORTS = png.h pngconf.h mozpngconf.h
LOCAL_INCLUDES = -I$(srcdir)
FORCE_STATIC_LIB = 1
# This library is used by other shared libs in a static build
FORCE_USE_PIC = 1
include $(topsrcdir)/config/rules.mk

View File

@ -55,8 +55,6 @@ PROGOBJS = $(addprefix R_,$(BIN_SRCS:.c=.o))
# We don't want a shared lib. Static lib only.
FORCE_STATIC_LIB = 1
# Force use of PIC
FORCE_USE_PIC = 1
# We do want this in the static libraries list
EXPORT_LIBRARY = 1

View File

@ -57,7 +57,5 @@ CSRCS = $(MODULES_ZLIB_SRC_LCSRCS)
EXPORTS = zlib.h zconf.h mozzconf.h
# This library is used by other shared libs in a static build
FORCE_USE_PIC = 1
include $(topsrcdir)/config/rules.mk

View File

@ -55,7 +55,6 @@ EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = nsServicesCryptoModule
LIBXUL_LIBRARY = 1
FORCE_USE_PIC = 1
MOZILLA_INTERNAL_API = 1
CPPSRCS = \

View File

@ -44,7 +44,6 @@ include $(DEPTH)/config/autoconf.mk
MODULE = alerts
LIBRARY_NAME = growl_s
FORCE_STATIC_LIB = 1
FORCE_USE_PIC = 1
CMSRCS = \
GrowlApplicationBridge.m \

View File

@ -122,7 +122,6 @@ LIBS += \
LOCAL_INCLUDES += -I$(srcdir)
OS_CXXFLAGS += $(MOZ_GTK2_CFLAGS) $(MOZ_GTHREAD_CFLAGS)
OS_LIBS += $(MOZ_GTK2_LIBS) $(MOZ_GTHREAD_LIBS)
FORCE_USE_PIC=1
endif
ifeq ($(OS_ARCH),SunOS)
@ -133,7 +132,6 @@ LIBS += \
LOCAL_INCLUDES += -I$(srcdir)
OS_CXXFLAGS += $(MOZ_GTK2_CFLAGS) $(MOZ_GTHREAD_CFLAGS)
OS_LIBS += $(MOZ_GTK2_LIBS) $(MOZ_GTHREAD_LIBS)
FORCE_USE_PIC=1
endif
include $(topsrcdir)/config/rules.mk

View File

@ -59,7 +59,6 @@ HOST_LIBS += \
# force C++ linking
CPP_PROG_LINK = 1
FORCE_USE_PIC = 1
#XXX: bug 554854 causes us to be unable to run binaries on the build slaves
# due to them having an older libstdc++

View File

@ -53,6 +53,5 @@ CPPSRCS = \
# need static lib
FORCE_STATIC_LIB = 1
FORCE_USE_PIC = 1
include $(topsrcdir)/config/rules.mk

View File

@ -54,7 +54,6 @@ CPPSRCS = \
# need static lib
FORCE_STATIC_LIB = 1
FORCE_USE_PIC = 1
include $(topsrcdir)/config/rules.mk
ifeq ($(OS_ARCH),Linux)

View File

@ -67,7 +67,6 @@ CPPSRCS = \
# need static lib
FORCE_STATIC_LIB = 1
FORCE_USE_PIC = 1
ifeq ($(OS_TARGET),Android)
# NDK5 workarounds

View File

@ -55,6 +55,5 @@ CPPSRCS = \
# need static lib
FORCE_STATIC_LIB = 1
FORCE_USE_PIC = 1
include $(topsrcdir)/config/rules.mk

View File

@ -55,6 +55,5 @@ CPPSRCS = \
# need static lib
FORCE_STATIC_LIB = 1
FORCE_USE_PIC = 1
include $(topsrcdir)/config/rules.mk

View File

@ -90,6 +90,5 @@ HOST_CSRCS = $(CSRCS)
# need static lib
FORCE_STATIC_LIB = 1
FORCE_USE_PIC = 1
include $(topsrcdir)/config/rules.mk

View File

@ -64,6 +64,5 @@ HOST_CPPSRCS = \
# need static lib
FORCE_STATIC_LIB = 1
FORCE_USE_PIC = 1
include $(topsrcdir)/config/rules.mk

View File

@ -63,6 +63,5 @@ HOST_CPPSRCS = \
# need static lib
FORCE_STATIC_LIB = 1
FORCE_USE_PIC = 1
include $(topsrcdir)/config/rules.mk

View File

@ -60,7 +60,6 @@ HOST_LIBS += \
# force C++ linking
CPP_PROG_LINK = 1
FORCE_USE_PIC = 1
#XXX: bug 554854 causes us to be unable to run binaries on the build slaves
# due to them having an older libstdc++

View File

@ -61,6 +61,5 @@ HOST_LDFLAGS += -lelf -ldemangle
# force C++ linking
CPP_PROG_LINK = 1
FORCE_USE_PIC = 1
include $(topsrcdir)/config/rules.mk

View File

@ -49,7 +49,6 @@ include $(topsrcdir)/intl/unicharutil/util/objs.mk
MODULE = libxul
LIBRARY_NAME = xul
FORCE_USE_PIC = 1
FORCE_SHARED_LIB = 1
MOZILLA_INTERNAL_API = 1

View File

@ -45,7 +45,6 @@ MODULE = faststartupqt
LIBRARY_NAME = faststartupqt
DIST_INSTALL = 1
FORCE_STATIC_LIB = 1
FORCE_USE_PIC = 1
STL_FLAGS=
EXTRA_DSO_LDOPTS = \

View File

@ -153,8 +153,6 @@ endif
# we don't want the shared lib, but we want to force the creation of a static lib.
FORCE_STATIC_LIB = 1
# Force use of PIC
FORCE_USE_PIC = 1
include $(topsrcdir)/config/config.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk

View File

@ -125,8 +125,6 @@ EXPORTS_mozilla = \
Omnijar.h \
$(NULL)
# Force use of PIC
FORCE_USE_PIC = 1
GARBAGE += $(XPCOM_GLUE_SRC_LCPPSRCS) $(XPCOM_GLUENS_SRC_LCPPSRCS) $(wildcard *.$(OBJ_SUFFIX))

View File

@ -92,8 +92,6 @@ LOCAL_INCLUDES = \
# we don't want the shared lib, but we want to force the creation of a static lib.
FORCE_STATIC_LIB = 1
# Force use of PIC
FORCE_USE_PIC = 1
include $(topsrcdir)/config/rules.mk
DEFINES += -D_IMPL_NS_COM

View File

@ -162,8 +162,6 @@ EXTRA_COMPONENTS = \
# we don't want the shared lib, but we want to force the creation of a static lib.
FORCE_STATIC_LIB = 1
# Force use of PIC
FORCE_USE_PIC = 1
include $(topsrcdir)/config/rules.mk

View File

@ -144,8 +144,6 @@ SDK_LIBRARY = \
# we don't want the shared lib, but we want to force the creation of a static lib.
FORCE_STATIC_LIB = 1
# Force use of PIC
FORCE_USE_PIC = 1
# Pretend we're statically linking the CRT, even though we might not be: this
# avoids "msvcrp" and assembly dependencies from creeping into the directives

View File

@ -70,8 +70,6 @@ GARBAGE += $(CPPSRCS) DeadlockDetector.h SSE.h arm.h
# we don't want the shared lib, but we want to force the creation of a static lib.
FORCE_STATIC_LIB = 1
# Force use of PIC
FORCE_USE_PIC = 1
# Pretend we're statically linking the CRT, even though we might not be: this
# avoids "msvcrp" and assembly dependencies from creeping into the directives

View File

@ -94,8 +94,6 @@ SDK_LIBRARY = \
# we don't want the shared lib, but we want to force the creation of a static lib.
FORCE_STATIC_LIB = 1
# Force use of PIC
FORCE_USE_PIC = 1
# Pretend we're statically linking the CRT, even though we might not be: this
# avoids "msvcrp" and assembly dependencies from creeping into the directives

View File

@ -181,8 +181,6 @@ EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
# we don't want the shared lib, but we want to force the creation of a static lib.
FORCE_STATIC_LIB = 1
# Force use of PIC
FORCE_USE_PIC = 1
include $(topsrcdir)/config/rules.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk

View File

@ -60,8 +60,6 @@ LOCAL_INCLUDES += -I$(top_srcdir)/xpcom/threads/
# No shared lib; Force creation of static lib
FORCE_STATIC_LIB = 1
# Force use of PIC
FORCE_USE_PIC = 1
include $(topsrcdir)/config/rules.mk

View File

@ -54,8 +54,6 @@ CPPSRCS = xptcall.cpp
# we don't want the shared lib, but we want to force the creation of a static lib.
FORCE_STATIC_LIB = 1
# Force use of PIC
FORCE_USE_PIC = 1
include $(topsrcdir)/config/rules.mk

View File

@ -57,8 +57,6 @@ LOCAL_INCLUDES = \
$(NULL)
DEFINES += -DMOZ_NEED_LEADING_UNDERSCORE
# Force use of PIC
FORCE_USE_PIC = 1
include $(topsrcdir)/config/config.mk

View File

@ -53,8 +53,6 @@ MOZILLA_INTERNAL_API = 1
#
CPPSRCS = $(error XPTCall not implemented on this platform!)
# Force use of PIC
FORCE_USE_PIC = 1
ifeq ($(OS_ARCH),SunOS)
ifneq (86,$(findstring 86,$(OS_TEST)))

View File

@ -73,8 +73,6 @@ endif
LOCAL_INCLUDES += -I$(srcdir)/../../../../xptinfo/src
# Force use of PIC
FORCE_USE_PIC = 1
include $(topsrcdir)/config/config.mk

View File

@ -57,8 +57,6 @@ CPPSRCS = \
# we don't want the shared lib, but we want to force the creation of a static lib.
FORCE_STATIC_LIB = 1
# Force use of PIC
FORCE_USE_PIC = 1
include $(topsrcdir)/config/rules.mk

View File

@ -67,8 +67,6 @@ CPPSRCS = \
# static lib.
FORCE_STATIC_LIB = 1
# Force use of PIC
FORCE_USE_PIC = 1
# Are we targeting x86 or x86-64? If so, compile the SSE2 functions for
# nsUTF8Utils.cpp.

View File

@ -67,8 +67,6 @@ else
SDK_LIBRARY = $(SHARED_LIBRARY)
endif
# Force use of PIC
FORCE_USE_PIC = 1
FORCE_SHARED_LIB = 1

View File

@ -86,8 +86,6 @@ LOCAL_INCLUDES = -I$(srcdir)/../components
# we don't want the shared lib, but we want to force the creation of a static lib.
FORCE_STATIC_LIB = 1
# Force use of PIC
FORCE_USE_PIC = 1
include $(topsrcdir)/config/rules.mk

View File

@ -58,8 +58,6 @@ HOST_CSRCS = $(CSRCS)
FORCE_STATIC_LIB = 1
USE_STATIC_LIBS = 1
# Force use of PIC
FORCE_USE_PIC = 1
# Don't use profile-guided optimization
NO_PROFILE_GUIDED_OPTIMIZE = 1