aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian 'Swift Geek' Grzywna <swiftgeek@gmail.com>2017-12-23 19:52:25 +0100
committerSebastian 'Swift Geek' Grzywna <swiftgeek@gmail.com>2017-12-23 19:54:19 +0100
commitc3aefd82ce5e458aed30419e58d55e60d33fa2ad (patch)
tree77bcb47bca462040f05495ab19e8601ebc95ef22
parentb7c7ab86bf3c16d00e79576b00e91b57cb5ef62e (diff)
downloadlibrebootfr-c3aefd82ce5e458aed30419e58d55e60d33fa2ad.tar.gz
librebootfr-c3aefd82ce5e458aed30419e58d55e60d33fa2ad.zip
Revert "Statically link bucts"
This reverts commit 5100c4e7e9cc5e06cf32e06a5a0bd0d79d7655c6. We do not have yet libc and other deps for bucts inside libreboot
-rw-r--r--projects/bucts/sources/Makefile2
-rw-r--r--projects/bucts/sources/bucts.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/projects/bucts/sources/Makefile b/projects/bucts/sources/Makefile
index 2b165f3e..b5f43d5f 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 -lz -static
+ $(CC) -o $@ $(OBJ) $(LDFLAGS) -lpci
%.o: %.c
$(CC) $(CFLAGS) -DVERSION='"$(VERSION)"' -c $<
diff --git a/projects/bucts/sources/bucts.c b/projects/bucts/sources/bucts.c
index 9e3c1708..16e82c7a 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 -lz -static or: make
+/* compile: gcc -s -o bucts bucts.c -lpci or: make
* run as root: ./bucts [0|1]
*/
/*