1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

debug tests: Change -dwarf-2 to -g in tests Makefile

-gdwarf-2 was added specifically when the default debug format was
stabs, to force using the DWARF format. It is irrelevant nowadays, and
we want to let the compiler choose the DWARF version it prefers.

Change-Id: I300fab09b492704ca3d3a61446b8dd0ce36167c2
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/38766
Tested-by: Hudson CI
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
This commit is contained in:
Simon Marchi 2014-12-24 10:00:07 -05:00 committed by Marc Khouzam
parent 806a0e65a4
commit 24301e7396

View file

@ -12,8 +12,8 @@ COREFILE = $(BINDIR)/core
CC = gcc
CXX = g++
CFLAGS = -gdwarf-2
CXXFLAGS = -gdwarf-2
CFLAGS = -g
CXXFLAGS = -g
# Don't try to use pthread on Windows
# The OS environment variable exists on Windows