diff options
| author | Ben Kaduk <kaduk@mit.edu> | 2013-07-02 16:45:59 -0400 |
|---|---|---|
| committer | Ben Kaduk <kaduk@mit.edu> | 2013-10-04 15:33:35 -0400 |
| commit | b6d5e3af806bb60c37a831a72eff3e7e99bea6e9 (patch) | |
| tree | 560cfd1805e2e4fa81895fdfe0ca250d0519ddfe /src/config | |
| parent | bd1617020ec6aa78e241f128f3104a6abcb96705 (diff) | |
| download | krb5-b6d5e3af806bb60c37a831a72eff3e7e99bea6e9.tar.gz krb5-b6d5e3af806bb60c37a831a72eff3e7e99bea6e9.tar.xz krb5-b6d5e3af806bb60c37a831a72eff3e7e99bea6e9.zip | |
Be smarter about installing debug symbols
We know when we're going to generate debug symbols, so only attempt
to install them when we know they should be present.
This eliminates the need to tell make to ignore errors from the shell
on these steps.
ticket: 7317
tags: pullup
target_version: 1.11.4
Diffstat (limited to 'src/config')
| -rw-r--r-- | src/config/win-pre.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/config/win-pre.in b/src/config/win-pre.in index 9656616e5..6084f65b8 100644 --- a/src/config/win-pre.in +++ b/src/config/win-pre.in @@ -165,9 +165,15 @@ LOPTS=$(LOPTS) -debug !endif CCOPTS=/Os /MD $(CCOPTS) LOPTS=$(LOPTS) +!ifdef DEBUG_SYMBOL +INSTALLDBGSYMS=copy +!else +INSTALLDBGSYMS=rem +!endif !else CCOPTS=/Od $(DEBUGOPT) /MDd $(CCOPTS) LOPTS=$(LOPTS) -debug +INSTALLDBGSYMS=copy !endif # XXX - NOTE: We should probably use DllMainCRTStartup |
