Mercurial > hg > graal-jvmci-8
comparison make/linux/makefiles/gcc.make @ 11042:cc63bcb47cce
8017538: Clang support broke slowdebug build for i586
Reviewed-by: kvn
author | twisti |
---|---|
date | Mon, 24 Jun 2013 17:47:25 -0700 |
parents | ef57c43512d6 |
children | badf4244ceae faf0c78e906b |
comparison
equal
deleted
inserted
replaced
11025:fc8a1a5de78e | 11042:cc63bcb47cce |
---|---|
348 DEBUG_CFLAGS/ppc = -g | 348 DEBUG_CFLAGS/ppc = -g |
349 DEBUG_CFLAGS += $(DEBUG_CFLAGS/$(BUILDARCH)) | 349 DEBUG_CFLAGS += $(DEBUG_CFLAGS/$(BUILDARCH)) |
350 ifeq ($(DEBUG_CFLAGS/$(BUILDARCH)),) | 350 ifeq ($(DEBUG_CFLAGS/$(BUILDARCH)),) |
351 ifeq ($(USE_CLANG), true) | 351 ifeq ($(USE_CLANG), true) |
352 # Clang doesn't understand -gstabs | 352 # Clang doesn't understand -gstabs |
353 OPT_CFLAGS += -g | 353 DEBUG_CFLAGS += -g |
354 else | 354 else |
355 OPT_CFLAGS += -gstabs | 355 DEBUG_CFLAGS += -gstabs |
356 endif | 356 endif |
357 endif | 357 endif |
358 | 358 |
359 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) | 359 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
360 FASTDEBUG_CFLAGS/ia64 = -g | 360 FASTDEBUG_CFLAGS/ia64 = -g |
363 FASTDEBUG_CFLAGS/ppc = -g | 363 FASTDEBUG_CFLAGS/ppc = -g |
364 FASTDEBUG_CFLAGS += $(DEBUG_CFLAGS/$(BUILDARCH)) | 364 FASTDEBUG_CFLAGS += $(DEBUG_CFLAGS/$(BUILDARCH)) |
365 ifeq ($(FASTDEBUG_CFLAGS/$(BUILDARCH)),) | 365 ifeq ($(FASTDEBUG_CFLAGS/$(BUILDARCH)),) |
366 ifeq ($(USE_CLANG), true) | 366 ifeq ($(USE_CLANG), true) |
367 # Clang doesn't understand -gstabs | 367 # Clang doesn't understand -gstabs |
368 OPT_CFLAGS += -g | 368 FASTDEBUG_CFLAGS += -g |
369 else | 369 else |
370 OPT_CFLAGS += -gstabs | 370 FASTDEBUG_CFLAGS += -gstabs |
371 endif | 371 endif |
372 endif | 372 endif |
373 | 373 |
374 OPT_CFLAGS/ia64 = -g | 374 OPT_CFLAGS/ia64 = -g |
375 OPT_CFLAGS/amd64 = -g | 375 OPT_CFLAGS/amd64 = -g |