зеркало из https://github.com/mozilla/gecko-dev.git
use FORCE_USE_PIC for breakpad on linux. b=385561, r=luser
This commit is contained in:
Родитель
243822adc5
Коммит
d2649ed079
|
@ -88,6 +88,7 @@ LOCAL_INCLUDES += -I$(srcdir)
|
||||||
OS_CXXFLAGS += $(MOZ_GTK2_CFLAGS) $(MOZ_LIBCURL_CFLAGS)
|
OS_CXXFLAGS += $(MOZ_GTK2_CFLAGS) $(MOZ_LIBCURL_CFLAGS)
|
||||||
OS_LIBS += $(MOZ_GTK2_LIBS) $(MOZ_LIBCURL_LIBS)
|
OS_LIBS += $(MOZ_GTK2_LIBS) $(MOZ_LIBCURL_LIBS)
|
||||||
CPPSRCS += http_upload.cc
|
CPPSRCS += http_upload.cc
|
||||||
|
FORCE_USE_PIC=1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
include $(topsrcdir)/config/rules.mk
|
include $(topsrcdir)/config/rules.mk
|
||||||
|
|
|
@ -53,5 +53,6 @@ CPPSRCS = \
|
||||||
|
|
||||||
# need static lib
|
# need static lib
|
||||||
FORCE_STATIC_LIB = 1
|
FORCE_STATIC_LIB = 1
|
||||||
|
FORCE_USE_PIC = 1
|
||||||
|
|
||||||
include $(topsrcdir)/config/rules.mk
|
include $(topsrcdir)/config/rules.mk
|
||||||
|
|
|
@ -55,5 +55,6 @@ CPPSRCS = \
|
||||||
|
|
||||||
# need static lib
|
# need static lib
|
||||||
FORCE_STATIC_LIB = 1
|
FORCE_STATIC_LIB = 1
|
||||||
|
FORCE_USE_PIC = 1
|
||||||
|
|
||||||
include $(topsrcdir)/config/rules.mk
|
include $(topsrcdir)/config/rules.mk
|
||||||
|
|
|
@ -61,5 +61,6 @@ HOST_CSRCS = $(CSRCS)
|
||||||
|
|
||||||
# need static lib
|
# need static lib
|
||||||
FORCE_STATIC_LIB = 1
|
FORCE_STATIC_LIB = 1
|
||||||
|
FORCE_USE_PIC = 1
|
||||||
|
|
||||||
include $(topsrcdir)/config/rules.mk
|
include $(topsrcdir)/config/rules.mk
|
||||||
|
|
|
@ -71,5 +71,6 @@ HOST_CSRCS = $(CSRCS)
|
||||||
|
|
||||||
# need static lib
|
# need static lib
|
||||||
FORCE_STATIC_LIB = 1
|
FORCE_STATIC_LIB = 1
|
||||||
|
FORCE_USE_PIC = 1
|
||||||
|
|
||||||
include $(topsrcdir)/config/rules.mk
|
include $(topsrcdir)/config/rules.mk
|
||||||
|
|
|
@ -59,5 +59,6 @@ HOST_LIBS += \
|
||||||
|
|
||||||
# force C++ linking
|
# force C++ linking
|
||||||
CPP_PROG_LINK = 1
|
CPP_PROG_LINK = 1
|
||||||
|
FORCE_USE_PIC = 1
|
||||||
|
|
||||||
include $(topsrcdir)/config/rules.mk
|
include $(topsrcdir)/config/rules.mk
|
||||||
|
|
Загрузка…
Ссылка в новой задаче