make/linux/makefiles/saproc.make

changeset 1221
27d660246893
parent 1205
f5ee65f94d9a
child 1279
bd02caa94611
     1.1 --- a/make/linux/makefiles/saproc.make	Wed May 13 00:45:22 2009 -0700
     1.2 +++ b/make/linux/makefiles/saproc.make	Fri May 15 18:14:44 2009 -0700
     1.3 @@ -43,6 +43,11 @@
     1.4  
     1.5  DEST_SAPROC = $(JDK_LIBDIR)/$(LIBSAPROC)
     1.6  
     1.7 +# DEBUG_BINARIES overrides everything, use full -g debug information
     1.8 +ifeq ($(DEBUG_BINARIES), true)
     1.9 +  SA_DEBUG_CFLAGS = -g
    1.10 +endif
    1.11 +
    1.12  # if $(AGENT_DIR) does not exist, we don't build SA
    1.13  # also, we don't build SA on Itanium.
    1.14  
    1.15 @@ -67,6 +72,7 @@
    1.16  	           -I$(BOOT_JAVA_HOME)/include/$(Platform_os_family)    \
    1.17  	           $(SASRCFILES)                                        \
    1.18  	           $(SA_LFLAGS)                                         \
    1.19 +	           $(SA_DEBUG_CFLAGS)                                   \
    1.20  	           -o $@                                                \
    1.21  	           -lthread_db
    1.22  

mercurial