mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01: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:
committed by
Christian Helmuth
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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user