diff options
author | Francis Rowe <info@gluglug.org.uk> | 2014-11-24 21:32:35 (EST) |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2014-11-24 22:26:53 (EST) |
commit | 7ff25fd1932471a23827ef821be97fc4969910e1 (patch) | |
tree | ee1fb3803d66cdd4d07209b7b273a1f1252bd6aa /resources/bucts/patch/staticlink.diff | |
parent | 62d4eaaaf4b87629b37e6d16d4b4020499207d73 (diff) | |
download | libreboot-7ff25fd1932471a23827ef821be97fc4969910e1.zip libreboot-7ff25fd1932471a23827ef821be97fc4969910e1.tar.gz libreboot-7ff25fd1932471a23827ef821be97fc4969910e1.tar.bz2 |
libreboot_bin.tar.xz: Include utils as statically linked binaries
This means that the user does not have to install build dependency
or build from source anymore.
Diffstat (limited to 'resources/bucts/patch/staticlink.diff')
-rw-r--r-- | resources/bucts/patch/staticlink.diff | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/resources/bucts/patch/staticlink.diff b/resources/bucts/patch/staticlink.diff new file mode 100644 index 0000000..52da8cc --- /dev/null +++ b/resources/bucts/patch/staticlink.diff @@ -0,0 +1,13 @@ +diff --git a/Makefile b/Makefile +index 68541e6..b8579eb 100644 +--- a/Makefile ++++ b/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 $< |