diff options
Diffstat (limited to 'solenv/gbuild/TargetLocations.mk')
-rw-r--r-- | solenv/gbuild/TargetLocations.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/solenv/gbuild/TargetLocations.mk b/solenv/gbuild/TargetLocations.mk index a0287a3fe33f..6cf9434177b6 100644 --- a/solenv/gbuild/TargetLocations.mk +++ b/solenv/gbuild/TargetLocations.mk @@ -47,8 +47,12 @@ gb_XcuModuleTarget_get_outdir_target = $(gb_Configuration_registry)/spool/$(1) gb_Executable_get_target = $(gb_Executable__get_linktarget_target) -# FIXME broken +ifneq ($(CROSS_COMPILING),) +# Can we assume this is used only for executables registered for "NONE"? +gb_Executable_get_target_for_build = $(call gb_Executable_get_install_target_for_build,$(1)) +else gb_Executable_get_target_for_build = $(gb_Executable__get_linktarget_target) +endif # FIXME: cleanup? gb_Library_get_target = $(gb_Library__get_linktarget_target) |