mirror of https://github.com/deadw00d/AROS.git
Pass stdc.static via uselibs
This way it can be filtered out when building kobjs and not generate duplicated symbols error when building kickstart.
This commit is contained in:
parent
6902125112
commit
42188e4687
|
@ -7,7 +7,7 @@ endif
|
|||
|
||||
USER_CPPFLAGS := -DADATE="\"$(shell date '+%d.%m.%Y')\""
|
||||
USER_INCLUDES := -I$(SRCDIR)/arch/all-$(ARCH)/filesys/emul_handler $(FAMILY_INCLUDES) -I$(SRCDIR)/$(CURDIR) -iquote $(SRCDIR)/rom/expansion -iquote $(SRCDIR)/rom/dosboot
|
||||
USER_LDFLAGS := -noclibs -lstdc.static
|
||||
USER_LDFLAGS := -noclibs
|
||||
|
||||
FILES := emul_init emul_handler filenames emul_host
|
||||
CONSOLE_FILES := boot
|
||||
|
@ -23,6 +23,6 @@ endif
|
|||
%build_module mmake=kernel-fs-emul \
|
||||
modname=emul modtype=resource modsuffix=handler version=$(AROS_TARGET_PLATFORM) \
|
||||
files="$(FILES) $(FUNCS)" \
|
||||
moduledir=$(AROS_DIR_ARCH)/L usesdks="private"
|
||||
moduledir=$(AROS_DIR_ARCH)/L usesdks="private" uselibs="stdc.static"
|
||||
|
||||
%common
|
||||
|
|
|
@ -27,9 +27,9 @@ endif
|
|||
|
||||
USER_CPPFLAGS := \
|
||||
-DUSE_EXEC_DEBUG
|
||||
USER_LDFLAGS := -noclibs -lstdc.static
|
||||
USER_LDFLAGS := -noclibs
|
||||
|
||||
%build_module mmake=kernel-expansion \
|
||||
modname=expansion modtype=library version=$(VERSION) \
|
||||
files="expansion_init $(FUNCS)" archspecific=yes usesdks="config"
|
||||
files="expansion_init $(FUNCS)" archspecific=yes usesdks="config" uselibs="stdc.static"
|
||||
|
||||
|
|
|
@ -24,10 +24,10 @@ FUNCS := abortio addtime beginio cmptime getsystime subtime readeclock getuptime
|
|||
|
||||
USER_CPPFLAGS += \
|
||||
-DUSE_EXEC_DEBUG
|
||||
USER_LDFLAGS := -noclibs -lstdc.static
|
||||
USER_LDFLAGS := -noclibs
|
||||
|
||||
%build_module mmake=kernel-timer \
|
||||
modname=timer modtype=device version=$(AROS_TARGET_PLATFORM) \
|
||||
files="$(FUNCS) $(FILES)" archspecific=yes usesdks="private config"
|
||||
files="$(FUNCS) $(FILES)" archspecific=yes usesdks="private config" uselibs="stdc.static"
|
||||
|
||||
%common
|
||||
|
|
Loading…
Reference in New Issue