aboutsummaryrefslogtreecommitdiffstats
path: root/testing/refind/10-refind-disable-fortify.patch
blob: b59b71147313285e7a77f684eae2d1a45fe8daf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- refind-0.11.4-orig/libeg/Makefile
+++ refind-0.11.4/libeg/Makefile
@@ -12,7 +12,7 @@
 
 VPATH = $(SRCDIR)
 
-LOCAL_GNUEFI_CFLAGS  = -I$(SRCDIR) -I$(SRCDIR)/../include
+LOCAL_GNUEFI_CFLAGS  = -D_FORTIFY_SOURCE=0 -I$(SRCDIR) -I$(SRCDIR)/../include
 
 OBJS            = nanojpeg.o nanojpeg_xtra.o screen.o image.o text.o load_bmp.o load_icns.o lodepng.o lodepng_xtra.o
 TARGET          = libeg.a