diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-01-10 15:38:51 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-01-11 14:13:30 +0000 |
commit | 06d3fb621f2cb1b5358d28542b8542019c6edcd2 (patch) | |
tree | 4cc6b21dc9e6a9afc0f5dea0cb2eb1d73318ecba /redland | |
parent | 98aadb63dd07c51bdc2a0a0857c6ded05d7316f8 (diff) |
add debugging symbols to raptor in debugging levels
Diffstat (limited to 'redland')
-rw-r--r-- | redland/raptor/makefile.mk | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/redland/raptor/makefile.mk b/redland/raptor/makefile.mk index 4201a60757ce..4a731b54bc39 100644 --- a/redland/raptor/makefile.mk +++ b/redland/raptor/makefile.mk @@ -108,10 +108,15 @@ LDFLAGS:=-Wl,-rpath,'$$$$ORIGIN:$$$$ORIGIN/../ure-link/lib' -Wl,-noinhibit-exec LDFLAGS:=-Wl,-R'$$$$ORIGIN:$$$$ORIGIN/../ure-link/lib' .ENDIF # "$(OS)$(COM)"=="SOLARISC52" +.IF "$(debug)" != "" +CFLAGS:=-g +.ELSE +CFLAGS:=-O +.ENDIF .IF "$(COM)"=="C52" && "$(CPU)"=="U" -CFLAGS=-m64 -.EXPORT: CFLAGS +CFLAGS+=-m64 .ENDIF +.EXPORT: CFLAGS # NB: SOLARDIR before SYSBASE, because linux SYSBASE contains obsolete libcrypto CPPFLAGS+:=-I$(SOLARINCDIR)$/external |