diff options
author | Andrew Robbins <contact@andrewrobbins.info> | 2017-12-22 20:35:04 -0500 |
---|---|---|
committer | Andrew Robbins <contact@andrewrobbins.info> | 2017-12-22 22:03:07 -0500 |
commit | 5100c4e7e9cc5e06cf32e06a5a0bd0d79d7655c6 (patch) | |
tree | 77c353cb7eb58dc470660582ae2980a230633780 | |
parent | bddb45d1e7962d538fd67c58102cbb15b87389ec (diff) | |
download | librebootfr-5100c4e7e9cc5e06cf32e06a5a0bd0d79d7655c6.tar.gz librebootfr-5100c4e7e9cc5e06cf32e06a5a0bd0d79d7655c6.zip |
Statically link bucts
-rw-r--r-- | projects/bucts/sources/Makefile | 2 | ||||
-rw-r--r-- | projects/bucts/sources/bucts.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/projects/bucts/sources/Makefile b/projects/bucts/sources/Makefile index b5f43d5f..2b165f3e 100644 --- a/projects/bucts/sources/Makefile +++ b/projects/bucts/sources/Makefile @@ -10,7 +10,7 @@ endif all: bucts bucts: $(OBJ) - $(CC) -o $@ $(OBJ) $(LDFLAGS) -lpci + $(CC) -o $@ $(OBJ) $(LDFLAGS) -lpci -lz -static %.o: %.c $(CC) $(CFLAGS) -DVERSION='"$(VERSION)"' -c $< diff --git a/projects/bucts/sources/bucts.c b/projects/bucts/sources/bucts.c index 16e82c7a..9e3c1708 100644 --- a/projects/bucts/sources/bucts.c +++ b/projects/bucts/sources/bucts.c @@ -1,4 +1,4 @@ -/* compile: gcc -s -o bucts bucts.c -lpci or: make +/* compile: gcc -s -o bucts bucts.c -lpci -lz -static or: make * run as root: ./bucts [0|1] */ /* |