Makefile.include: Remove --cref from linking flags
Seem to cause internal linker errors and linker segfaults under some circumstances when using gold as the linker.
This commit is contained in:
parent
3a66df0c1a
commit
33d73d3e5a
@ -310,7 +310,7 @@ LINKFLAGPREFIX ?= -Wl,
|
|||||||
|
|
||||||
DIRS += $(EXTERNAL_MODULE_DIRS)
|
DIRS += $(EXTERNAL_MODULE_DIRS)
|
||||||
|
|
||||||
_LINK = $(if $(CPPMIX),$(CXX),$(LINK)) $(UNDEF) $(LINKFLAGPREFIX)--start-group $(BASELIBS) -lm $(LINKFLAGPREFIX)--end-group $(LINKFLAGPREFIX)-Map=$(BINDIR)/$(APPLICATION).map $(LINKFLAGPREFIX)--cref $(LINKFLAGS)
|
_LINK = $(if $(CPPMIX),$(CXX),$(LINK)) $(UNDEF) $(LINKFLAGPREFIX)--start-group $(BASELIBS) -lm $(LINKFLAGPREFIX)--end-group $(LINKFLAGPREFIX)-Map=$(BINDIR)/$(APPLICATION).map $(LINKFLAGS)
|
||||||
|
|
||||||
ifeq ($(BUILD_IN_DOCKER),1)
|
ifeq ($(BUILD_IN_DOCKER),1)
|
||||||
link: ..in-docker-container
|
link: ..in-docker-container
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user