diff options
Diffstat (limited to 'kBuild/tools/GXX3PLAIN.kmk')
-rw-r--r-- | kBuild/tools/GXX3PLAIN.kmk | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/kBuild/tools/GXX3PLAIN.kmk b/kBuild/tools/GXX3PLAIN.kmk index bf26958..733014e 100644 --- a/kBuild/tools/GXX3PLAIN.kmk +++ b/kBuild/tools/GXX3PLAIN.kmk @@ -1,10 +1,10 @@ -# $Id: GXX3PLAIN.kmk 2243 2009-01-10 02:24:02Z bird $ +# $Id: GXX3PLAIN.kmk 2541 2011-08-03 09:51:30Z bird $ ## @file # kBuild Tool Config - Generic GCC v3.2.x or later using the system GCC, any Unix linker and Unix archiver to build C++ code. # # -# Copyright (c) 2004-2009 knut st. osmundsen <bird-kBuild-spamix@anduin.net> +# Copyright (c) 2004-2010 knut st. osmundsen <bird-kBuild-spamx@anduin.net> # # This file is part of kBuild. # @@ -122,6 +122,7 @@ define TOOL_GXX3PLAIN_COMPILE_C_CMDS $(flags) -fpreprocessed -x c\ -o $(obj)\ - + $(QUIET)$(APPEND) -n "$(dep)" "" "$(source):" "" endef else # !KBUILD_USE_KOBJCACHE TOOL_GXX3PLAIN_COMPILE_C_OUTPUT = @@ -131,6 +132,7 @@ define TOOL_GXX3PLAIN_COMPILE_C_CMDS -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ -o $(obj)\ $(abspath $(source)) + $(QUIET)$(APPEND) -n "$(dep)" "" "$(source):" "" endef endif # !KBUILD_USE_KOBJCACHE @@ -164,6 +166,7 @@ define TOOL_GXX3PLAIN_COMPILE_CXX_CMDS $(flags) -fpreprocessed -x c++\ -o $(obj)\ - + $(QUIET)$(APPEND) -n "$(dep)" "" "$(source):" "" endef else # !KBUILD_USE_KOBJCACHE TOOL_GXX3PLAIN_COMPILE_CXX_OUTPUT = @@ -173,6 +176,7 @@ define TOOL_GXX3PLAIN_COMPILE_CXX_CMDS -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ -o $(obj)\ $(abspath $(source)) + $(QUIET)$(APPEND) -n "$(dep)" "" "$(source):" "" endef endif # !KBUILD_USE_KOBJCACHE @@ -199,6 +203,7 @@ define TOOL_GXX3PLAIN_COMPILE_AS_CMDS -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ -o $(obj)\ $(abspath $(source)) + $(QUIET)$(APPEND) -n "$(dep)" "" "$(source):" "" endef @@ -252,6 +257,9 @@ define TOOL_GXX3PLAIN_LINK_PROGRAM_CMDS $(filter %.def, $(othersrc))\ $(foreach p,$(libpath), -L$(p))\ $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(lib)), $(lib))) +if1of ($(ld_debug), split) + $(warning kBuild: Debug splitting is requested for $(target), but this feature is not supported by GXX3PLAIN.) +endif endef @@ -280,6 +288,9 @@ define TOOL_GXX3PLAIN_LINK_DLL_CMDS $(filter %.def, $(othersrc))\ $(foreach p,$(libpath), -L$(p))\ $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(lib)), $(lib))) +if1of ($(ld_debug), split) + $(warning kBuild: Debug splitting is requested for $(target), but this feature is not supported by GXX3PLAIN.) +endif endef @@ -311,5 +322,8 @@ define TOOL_GXX3PLAIN_LINK_SYSMOD_CMDS $(filter %.def, $(othersrc))\ $(foreach p,$(libpath), -L$(p))\ $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(lib)), $(lib))) +if1of ($(ld_debug), split) + $(warning kBuild: Debug splitting is requested for $(target), but this feature is not supported by GXX3PLAIN.) +endif endef |