summaryrefslogtreecommitdiff
path: root/postgresql
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2012-02-09 10:34:21 +0200
committerTor Lillqvist <tml@iki.fi>2012-02-10 14:04:12 +0200
commit1c343fd6e34e34e7620c550b33a55ad7dfcfee98 (patch)
treea37436c1b6a97d616f608e6563780f1751486671 /postgresql
parent95e79b3ebd10c4c7dae89613a65b1678551caf21 (diff)
Don't use the debugging CRT and different name when building LO for debugging
Diffstat (limited to 'postgresql')
-rw-r--r--postgresql/postgresql-9.1.1-libreoffice.patch16
1 files changed, 15 insertions, 1 deletions
diff --git a/postgresql/postgresql-9.1.1-libreoffice.patch b/postgresql/postgresql-9.1.1-libreoffice.patch
index d3ba124afe0b..83f3aec69ff8 100644
--- a/postgresql/postgresql-9.1.1-libreoffice.patch
+++ b/postgresql/postgresql-9.1.1-libreoffice.patch
@@ -11,7 +11,7 @@ diff --recursive -u misc/build/postgresql-9.1.1/src/interfaces/libpq/Makefile mi
diff --recursive -u misc/build/postgresql-9.1.1/src/interfaces/libpq/win32.mak misc/build/postgresql-9.1.1.patched/src/interfaces/libpq/win32.mak
--- misc/build/postgresql-9.1.1/src/interfaces/libpq/win32.mak 2011-12-14 14:28:59.000000000 +0100
+++ misc/build/postgresql-9.1.1.patched/src/interfaces/libpq/win32.mak 2011-12-15 09:11:37.000000000 +0100
-@@ -13,18 +13,19 @@
+@@ -13,30 +13,29 @@
# CPU="i386" or CPU environment of nmake.exe (AMD64 or IA64)
@@ -35,6 +35,20 @@ diff --recursive -u misc/build/postgresql-9.1.1/src/interfaces/libpq/win32.mak m
!ERROR Make aborted.
!ENDIF
+ !IFDEF DEBUG
+-OPT=/Od /Zi /MDd
++OPT=/Od /Zi
+ LOPT=/DEBUG
+-DEBUGDEF=/D _DEBUG
+-OUTFILENAME=libpqd
++OUTFILENAME=libpq
+ !ELSE
+ OPT=/O2 /MD
+ LOPT=
+-DEBUGDEF=/D NDEBUG
+ OUTFILENAME=libpq
+ !ENDIF
+
@@ -56,7 +57,7 @@
!ENDIF