aboutsummaryrefslogtreecommitdiff
path: root/projects/bucts/patches/staticlink.diff
diff options
context:
space:
mode:
authorLeah Rowe <info@minifree.org>2017-05-31 23:55:53 +0000
committerGogs <gogitservice@gmail.com>2017-05-31 23:55:53 +0000
commit2271147a9c5a80afa9fa81a4eacafcaa1d840258 (patch)
treed227d0fb53dc6cfcfb2260190294f5e474332d77 /projects/bucts/patches/staticlink.diff
parenta36b0c7ccfad15941905185557cc4129f2f8a860 (diff)
parent1ea8d09af262ddeed87acf5916cec42d9a002da1 (diff)
downloadlibrebootfr-2271147a9c5a80afa9fa81a4eacafcaa1d840258.tar.gz
librebootfr-2271147a9c5a80afa9fa81a4eacafcaa1d840258.zip
Merge branch 'build-system-merge' of kragle/libreboot into master
Diffstat (limited to 'projects/bucts/patches/staticlink.diff')
-rw-r--r--projects/bucts/patches/staticlink.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/projects/bucts/patches/staticlink.diff b/projects/bucts/patches/staticlink.diff
new file mode 100644
index 00000000..52da8cc8
--- /dev/null
+++ b/projects/bucts/patches/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 $<