gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

common.make -- debug=yes


From: Giah de Barag
Subject: common.make -- debug=yes
Date: Thu, 18 Aug 2016 18:11:57 -0400

Would you review these two lines intended for insertion at common.make:756 . . .

ifeq ($(debug), yes)
  # Optimization flags are filtered out as they make debugging harder.
  OPTFLAG := $(filter-out -O%, $(OPTFLAG))
  CCFLAGS := $(filter-out -O%, $(CCFLAGS))
  ADDITIONAL_FLAGS := $(filter-out -O%, $(ADDITIONAL_FLAGS))
  # If OPTFLAG does not already include -g, add it here.
  ifneq ($(filter -g, $(OPTFLAG)), -g)
    ADDITIONAL_FLAGS += -g
  endif

. . . without which debug=yes does not get rid of the -O2 flag.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]