mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-29 15:44:02 +00:00
dde_rump: Set '-fcommon' for rump host tools
GCC 10 has `-fno-common` as default which leads to multiple definitions of of symbols. Fixes #3960
This commit is contained in:
parent
b907629341
commit
722254f864
@ -65,7 +65,11 @@ HOST_INC_DIR = $(addprefix -I,$(RUMP_TOOL) \
|
||||
$(RUMP_PORT_DIR)/src/tools/compat \
|
||||
$(RUMP_PORT_DIR)/src/usr.bin/config)
|
||||
|
||||
HOST_CC_OPT = $(COMPAT_DEFS) $(HOST_D_OPT) $(HOST_INC_DIR)
|
||||
#
|
||||
# Force commmon symbols, multiple definitions of symbols may occur otherwise
|
||||
#
|
||||
HOST_CC_OPT = $(COMPAT_DEFS) $(HOST_D_OPT) $(HOST_INC_DIR) \
|
||||
-fcommon
|
||||
|
||||
HOST_OBJ = $(HOST_SRC_C:%.c=$(RUMP_TOOL)/%.o)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user