Kaydet (Commit) 8aa125c0 authored tarafından Caolán McNamara's avatar Caolán McNamara

when DISABLE_DYNLOADING gc linking

Change-Id: Ifba1dd8e6cf095b965ed1277ce63505085f1d13c
Reviewed-on: https://gerrit.libreoffice.org/58854
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst d99af1a6
...@@ -94,6 +94,12 @@ gb_LinkTarget_LDFLAGS += -fprofile-arcs -lgcov ...@@ -94,6 +94,12 @@ gb_LinkTarget_LDFLAGS += -fprofile-arcs -lgcov
gb_COMPILEROPTFLAGS := -O0 gb_COMPILEROPTFLAGS := -O0
endif endif
ifeq ($(DISABLE_DYNLOADING),TRUE)
gb_CFLAGS_COMMON += -ffunction-sections -fdata-sections
gb_CXXFLAGS_COMMON += -ffunction-sections -fdata-sections
gb_LinkTarget_LDFLAGS += -Wl,--gc-sections
endif
ifeq ($(shell expr '$(GCC_VERSION)' '>=' 600),1) ifeq ($(shell expr '$(GCC_VERSION)' '>=' 600),1)
gb_CFLAGS_COMMON += \ gb_CFLAGS_COMMON += \
-Wduplicated-cond \ -Wduplicated-cond \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment