diff options
author | Lubos Lunak <l.lunak@suse.cz> | 2012-10-19 16:27:35 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-10-22 14:56:20 +0200 |
commit | 84b4293e3dc6edd59e7d09383320361aaeed9e87 (patch) | |
tree | 85f7e4f39aa98a91701546d56848e8ab05aa327c /solenv/gbuild/Executable.mk | |
parent | 3c00ff3a4501d1b4164373c5f6e15b464df6854b (diff) |
allow LDFLAGS from gbuild to be selective too
Just like CXXFLAGS can be controlled using --enable-selective-debuginfo.
Non-debug libraries can be debug-stripped this way, which can save quite
some disk space with those cppunittests which just include all .o's from sw/sc.
Change-Id: Ib947f76f535161e4eef1421a5539df5e25fa4042
Diffstat (limited to 'solenv/gbuild/Executable.mk')
-rw-r--r-- | solenv/gbuild/Executable.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/gbuild/Executable.mk b/solenv/gbuild/Executable.mk index 8c178175ad4f..7517e1621013 100644 --- a/solenv/gbuild/Executable.mk +++ b/solenv/gbuild/Executable.mk @@ -52,7 +52,7 @@ $(call gb_Executable__Executable_impl,$(1),Executable/$(1)$(gb_Executable_EXT)) endef define gb_Executable__Executable_impl -$(call gb_LinkTarget_LinkTarget,$(2)) +$(call gb_LinkTarget_LinkTarget,$(2),Executable_$(1)) $(call gb_LinkTarget_set_targettype,$(2),Executable) $(call gb_LinkTarget_add_libs,$(2),$(gb_STDLIBS)) $(call gb_Executable_get_target,$(1)) : $(call gb_LinkTarget_get_target,$(2)) \ |