summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-boot/raincoat/files/raincoat-0.11-build.patch')
-rw-r--r--sys-boot/raincoat/files/raincoat-0.11-build.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-boot/raincoat/files/raincoat-0.11-build.patch b/sys-boot/raincoat/files/raincoat-0.11-build.patch
new file mode 100644
index 000000000000..a83e73dd523f
--- /dev/null
+++ b/sys-boot/raincoat/files/raincoat-0.11-build.patch
@@ -0,0 +1,13 @@
+diff --git a/Makefile b/Makefile
+index 96f8662..db2b78c 100755
+--- a/Makefile
++++ b/Makefile
+@@ -2,7 +2,7 @@ all: raincoat
+
+ raincoat: src/raincoat.c src/BootFlash.c src/boot.h src/BootFlash.h
+ mkdir -p bin
+- gcc -static -O2 -Wall -Werror -o ./bin/raincoat src/raincoat.c src/BootFlash.c
++ $(CC) -static $(CFLAGS) $(CPPFLAGS) -Wall -o ./bin/raincoat src/raincoat.c src/BootFlash.c $(LDFLAGS)
+
+ clean:
+ rm -f src/*.o