From c3aefd82ce5e458aed30419e58d55e60d33fa2ad Mon Sep 17 00:00:00 2001 From: Sebastian 'Swift Geek' Grzywna Date: Sat, 23 Dec 2017 19:52:25 +0100 Subject: Revert "Statically link bucts" This reverts commit 5100c4e7e9cc5e06cf32e06a5a0bd0d79d7655c6. We do not have yet libc and other deps for bucts inside libreboot --- projects/bucts/sources/Makefile | 2 +- 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 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] */ /* -- cgit v1.2.3-70-g09d2