mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Use the stabs debug format on Solaris x86, because the default dwarf
format does not work. This patch is provided by Soren Juul Moller <sjm@nwc.dk>.
This commit is contained in:
parent
872b4e8d8c
commit
4776befe54
@ -99,6 +99,15 @@ ifeq ($(OS_TEST),i86pc)
|
||||
CPU_ARCH = x86
|
||||
CPU_ARCH_TAG = _i86pc
|
||||
OS_DEFINES += -Di386
|
||||
# The default debug format, DWARF (-g), is not supported by gcc
|
||||
# on i386-ANY-sysv4/solaris, but the stabs format is. It is
|
||||
# assumed that the Solaris assembler /usr/ccs/bin/as is used.
|
||||
# If your gcc uses GNU as, you do not need the -Wa,-s option.
|
||||
ifndef BUILD_OPT
|
||||
ifdef NS_USE_GCC
|
||||
OPTIMIZER = -Wa,-s -gstabs
|
||||
endif
|
||||
endif
|
||||
else
|
||||
CPU_ARCH = sparc
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user