swc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/swc
Log | Files | Refs | README | LICENSE

commit 2fd90248c8cb8aae28c3857cb792d43d2daa3185
parent 47eb93bf0c85651f72b6a86b4cab315701d16510
Author: Michael Forney <mforney@mforney.org>
Date:   Tue, 20 May 2014 18:08:01 -0700

Pass LDFLAGS to linking step

Diffstat:
MMakefile | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -48,7 +48,7 @@ endif compile = $(call quiet,CC) $(FINAL_CPPFLAGS) $(FINAL_CFLAGS) -I . -c -o $@ $< \ -MMD -MP -MF .deps/$(basename $<).d -MT $(basename $@).o -MT $(basename $@).lo -link = $(call quiet,CCLD,$(CC)) $(FINAL_CFLAGS) -o $@ $^ +link = $(call quiet,CCLD,$(CC)) $(LDFLAGS) -o $@ $^ pkgconfig = $(sort $(foreach pkg,$(1),$(if $($(pkg)_$(3)),$($(pkg)_$(3)), \ $(shell $(PKG_CONFIG) --$(2) $(pkg)))))