diff options
| author | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-06-10 11:59:39 -0500 |
|---|---|---|
| committer | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-06-10 11:59:39 -0500 |
| commit | 44e5599c8bad00684e25fa8d784f03f001da51bd (patch) | |
| tree | aa52261bd1baef63ecd20628a8c6f3f6c670036e /Rules.make | |
| parent | 5ac88ff415dc740e070cbb9515406a4765d0ed3d (diff) | |
kbuild: Add $(HOST_LOADLIBES) when compiling host programs directly
When compiling a host program directly from the source without
going via intermediate objects, we were missing $(HOST_LOADLIBES) on
the command line.
Pointed out by Keith Owens.
Diffstat (limited to 'Rules.make')
| -rw-r--r-- | Rules.make | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Rules.make b/Rules.make index 4a65b54d6da7..e662722d8474 100644 --- a/Rules.make +++ b/Rules.make @@ -337,7 +337,8 @@ host-progs-multi-objs := $(foreach m,$(host-progs-multi),$($(m)-objs)) quiet_cmd_host_cc__c = HOSTCC $(RELDIR)/$@ cmd_host_cc__c = $(HOSTCC) -Wp,-MD,.$(subst /,_,$@).d \ - $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) -o $@ $< + $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) \ + $(HOST_LOADLIBES) -o $@ $< $(host-progs-single): %: %.c FORCE $(call if_changed_dep,host_cc__c) |
