diff --git a/build/unix/elfhack/Makefile.in b/build/unix/elfhack/Makefile.in index 8d6d5c8602f5..43c27a9e0e66 100644 --- a/build/unix/elfhack/Makefile.in +++ b/build/unix/elfhack/Makefile.in @@ -114,5 +114,5 @@ OS_CXXFLAGS := $(filter-out -pedantic,$(OS_CXXFLAGS)) include $(topsrcdir)/config/rules.mk inject/%.$(OBJ_SUFFIX): DEFINES += -DBITS=$(if $(HAVE_64BIT_OS),64,32) -inject/%.$(OBJ_SUFFIX): CFLAGS := -O2 $(filter -m% -I%,$(CFLAGS)) +inject/%.$(OBJ_SUFFIX): CFLAGS := -O2 -fno-stack-protector $(filter -m% -I%,$(CFLAGS)) inject/$(CPU)-noinit.$(OBJ_SUFFIX): DEFINES += -DNOINIT