summaryrefslogtreecommitdiffstats
path: root/package/config/Makefile
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-06-19 08:11:35 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-06-19 08:11:35 +0000
commit2c2796719afce7b7a64fa1dd0bec736b10e371da (patch)
tree27af60c5939dbe7b51eda6ff3d28a7439a19d94f /package/config/Makefile
parent15d53f0d1b45a87daae5819eb3c0ab49cb2776ae (diff)
downloadbuildroot-novena-2c2796719afce7b7a64fa1dd0bec736b10e371da.tar.gz
buildroot-novena-2c2796719afce7b7a64fa1dd0bec736b10e371da.zip
package/config: cygwin fix
- pass HOST_LOADLIBES down to make mconf for cygwin - fix link-order WRT HOST_LOADLIBES From Bernhards tree (91018d95)
Diffstat (limited to 'package/config/Makefile')
-rw-r--r--package/config/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/config/Makefile b/package/config/Makefile
index beed4584a..3af4bd8de 100644
--- a/package/config/Makefile
+++ b/package/config/Makefile
@@ -17,10 +17,10 @@ host-cmulti := $(foreach m,$(__hostprogs),\
host-cobjs := $(sort $(foreach m,$(__hostprogs),$($(m)-objs)))
$(host-csingle): %: %.c
- $(HOSTCC) $(HOST_EXTRACFLAGS) $(HOSTCFLAGS) $(HOSTCFLAGS_$@) $(HOST_LOADLIBES) $< -o $@
+ $(HOSTCC) $(HOST_EXTRACFLAGS) $(HOSTCFLAGS) $(HOSTCFLAGS_$@) $< $(HOST_LOADLIBES) -o $@
$(host-cmulti): %: $(host-cobjs) $(host-cshlib)
- $(HOSTCC) $(HOST_EXTRACFLAGS) $(HOSTCFLAGS) $(HOSTCFLAGS_$@) $(HOST_LOADLIBES) $($@-objs) -o $@
+ $(HOSTCC) $(HOST_EXTRACFLAGS) $(HOSTCFLAGS) $(HOSTCFLAGS_$@) $($@-objs) $(HOST_LOADLIBES) -o $@
$(host-cobjs): %.o: %.c
$(HOSTCC) $(HOST_EXTRACFLAGS) $(HOSTCFLAGS) $(HOSTCFLAGS_$@) -c $< -o $@