1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Revert "defs/gmake.mk: no _FORTIFY_SOURCE unless optimization"

This reverts commit b8c376cb9d, as it
seems no longer needed probably.
This commit is contained in:
Nobuyoshi Nakada 2022-09-12 01:23:52 +09:00
parent 684353fc03
commit 9205b8c801
Notes: git 2022-09-12 07:48:22 +09:00

View file

@ -44,10 +44,6 @@ TEST_DEPENDS += $(if $(filter great exam love check,$(MAKECMDGOALS)),all exts)
in-srcdir := $(if $(filter-out .,$(srcdir)),$(CHDIR) $(srcdir) &&)
ifneq ($(filter -O0 -Od,$(optflags)),)
override XCFLAGS := $(filter-out -D_FORTIFY_SOURCE=%,$(XCFLAGS))
endif
ifeq ($(if $(filter all main exts enc trans libencs libenc libtrans \
prog program ruby ruby$(EXEEXT) \
wprogram rubyw rubyw$(EXEEXT) \