Browse Source

Makefile: disable function inlining when building for debugging.

tags/non-daw-v1.1.0
Jonathan Moore Liles 15 years ago
parent
commit
00d0d733b5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Makefile

+ 1
- 1
Makefile View File

@@ -45,7 +45,7 @@ TOTAL := $(shell $(MAKE) CALCULATING=yes -n 2>/dev/null | sed -n 's/^.*Compiling
endif endif


ifeq ($(USE_DEBUG),yes) ifeq ($(USE_DEBUG),yes)
CFLAGS := -pipe -ggdb -Wall -Wextra -O0
CFLAGS := -pipe -ggdb -fno-inline -Wall -Wextra -O0
CXXFLAGS := -Wnon-virtual-dtor -Wno-missing-field-initializers -fno-rtti -fno-exceptions CXXFLAGS := -Wnon-virtual-dtor -Wno-missing-field-initializers -fno-rtti -fno-exceptions
else else
CFLAGS := -pipe -O2 -DNDEBUG CFLAGS := -pipe -O2 -DNDEBUG


Loading…
Cancel
Save