add static compile target to make file
Subsystems (2)
RFC 1/1 add static compile target to make file
Hi,
This is something i have been hacking in several times when i have had odd issues or had to use a special version of btrfs-progs to handle issues.
Anyway, thought i'd send something generic enough for everyone =).
Quoted 1 line
From
42f4bae2d2e8ee4a46a36454f7d9e3c63a6284d2Mon Sep 17 00:00:00 2001
From: Ian Kumlien <[email protected]>
Date: Sat, 26 Jan 2013 00:12:28 +0100
Subject: [PATCH] [RFC] Add static compile target
Sometimes, when you least expect it, a static binary is what you need to rescue your data... Or just get a good enough handle on things to make it work again ;)
"make static" is a gift to you, dear user with filesystem problems!
--- Makefile | 4 ++++ 1 file changed, 4 insertions(+)
Makefile +4 -0
@@ -117,4 +117,8 @@ install: $(progs) install-man $(INSTALL) -m755 -d $(DESTDIR)$(bindir) $(INSTALL) $(progs) $(DESTDIR)$(bindir) +static: CFLAGS += -static +static: LIBS += -lpthread +static: all + -include .*.d
Signature · 1 line
1.8.1.1