Skip to content

Commit

Permalink
Generate debug info for compiled C files
Browse files Browse the repository at this point in the history
Static symbols etc were missing from mce debuginfo packages because
extra debug information was not generated during compilation.

Use '-g' option both for compilation and linking.
  • Loading branch information
spiiroin committed Aug 31, 2014
1 parent eb7d7d2 commit bd2e7d3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Expand Up @@ -315,6 +315,9 @@ mce : LDLIBS += -ldl
endif
mce : mce.o $(patsubst %.c,%.o,$(MCE_CORE))

CFLAGS += -g
LDFLAGS += -g

# ----------------------------------------------------------------------------
# MODULES
# ----------------------------------------------------------------------------
Expand Down

0 comments on commit bd2e7d3

Please sign in to comment.