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:
parent
684353fc03
commit
9205b8c801
Notes:
git
2022-09-12 07:48:22 +09:00
1 changed files with 0 additions and 4 deletions
|
@ -44,10 +44,6 @@ TEST_DEPENDS += $(if $(filter great exam love check,$(MAKECMDGOALS)),all exts)
|
||||||
|
|
||||||
in-srcdir := $(if $(filter-out .,$(srcdir)),$(CHDIR) $(srcdir) &&)
|
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 \
|
ifeq ($(if $(filter all main exts enc trans libencs libenc libtrans \
|
||||||
prog program ruby ruby$(EXEEXT) \
|
prog program ruby ruby$(EXEEXT) \
|
||||||
wprogram rubyw rubyw$(EXEEXT) \
|
wprogram rubyw rubyw$(EXEEXT) \
|
||||||
|
|
Loading…
Reference in a new issue