From 6014e76a4088472bb8d2b08e40c690feb548b701 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 12 Mar 2015 16:15:07 +0000 Subject: [PATCH] gmake.mk: wait showflags * defs/gmake.mk (showflags): finish before object files start. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- defs/gmake.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/defs/gmake.mk b/defs/gmake.mk index f5033b2245..7e8f9a3b13 100644 --- a/defs/gmake.mk +++ b/defs/gmake.mk @@ -12,6 +12,12 @@ 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, \ + program wprogram miniruby$(EXEEXT) mini,\ + $(MAKECMDGOALS)),,$(MAKECMDGOALS)),) +-include showflags +endif + ifneq ($(filter universal-%,$(arch)),) define archcmd %.$(1).S: %.c