summaryrefslogtreecommitdiff
diff options
authorLars Luthman <[email protected]>2011-03-07 17:15:06 +0100
committerLars Luthman <[email protected]>2011-03-07 17:15:06 +0100
commita9e688ec993ba2f023e524f5f63bfad2b3346276 (patch)
tree37258720c9eff79a35e7f0c3a498c1a86d74d04a
parent9f8fe6adc238441225331db5c42f1212bc21bf17 (diff)
downloadglashctl-master.tar.gz
Don't pass LDFLAGS to the archiverHEADmaster
-rw-r--r--Makefile.template2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.template b/Makefile.template
index ac91872..c5eacd7 100644
--- a/Makefile.template
+++ b/Makefile.template
@@ -52,7 +52,7 @@ $$($(2)_CXXOBJECTS): Makefile.config
$(CXX) -c -o $$@ -fPIC -DPIC $(CFLAGS) $(CXXFLAGS) $$($(2)_CFLAGS) $$($$(patsubst %.o,%_cpp_CFLAGS,$$(notdir $$@))) $$(subst .o,.cpp,$$@)
$$($(2)_BLDPRF)/$(1): $$($(2)_OBJECTS)
- ar rcs $$@ $$^ $(LDFLAGS) $$($(2)_LDFLAGS)
+ ar rcs $$@ $$^ $$($(2)_LDFLAGS)
install-$(2)-headers: $$(patsubst %,$$($(2)_SRCPRF)/%,$$($(2)_HEADERS))
mkdir -p $(DESTDIR)/$(pkgincludedir)