diff --git a/utils/mmc-utils/patches/001-dont-set-fortify-source-in-makefile.patch b/utils/mmc-utils/patches/001-properly-set-fortify-source-in-makefile.patch similarity index 84% rename from utils/mmc-utils/patches/001-dont-set-fortify-source-in-makefile.patch rename to utils/mmc-utils/patches/001-properly-set-fortify-source-in-makefile.patch index 9b2b8ba25..4a35b959b 100644 --- a/utils/mmc-utils/patches/001-dont-set-fortify-source-in-makefile.patch +++ b/utils/mmc-utils/patches/001-properly-set-fortify-source-in-makefile.patch @@ -5,7 +5,7 @@ Index: mmc-utils-f4eb241519f8d500ce6068a70d2389be39ac5189/Makefile @@ -1,5 +1,5 @@ CC ?= gcc -AM_CFLAGS = -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -+AM_CFLAGS = -D_FILE_OFFSET_BITS=64 ++AM_CFLAGS = -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 CFLAGS ?= -g -O2 objects = \ mmc.o \