projects
/
cumulus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78376bd
)
Put linker flags at end of compiler command-line.
author
Michael Vrable
<vrable@cs.hmc.edu>
Thu, 31 May 2012 03:18:27 +0000
(20:18 -0700)
committer
Michael Vrable
<vrable@cs.hmc.edu>
Thu, 31 May 2012 03:18:27 +0000
(20:18 -0700)
Put $(LDFLAGS) after the sources, since otherwise the linker may be unable
to find all symbols.
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
3602ea7
..
8ae5754
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-10,7
+10,7
@@
SRCS=chunk.cc localdb.cc main.cc metadata.cc ref.cc remote.cc sha1.cc \
OBJS=$(SRCS:.cc=.o)
cumulus : $(OBJS)
- $(CXX)
$(LDFLAGS) -o $@ $^
+ $(CXX)
-o $@ $^ $(LDFLAGS)
version : NEWS
(git describe || (head -n1 NEWS | cut -d" " -f1)) >version 2>/dev/null