]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Build with /GS on 64-bit to work with modern Platform SDK.
authorMagnus Hagander <magnus@hagander.net>
Mon, 1 Oct 2007 14:32:02 +0000 (14:32 +0000)
committerMagnus Hagander <magnus@hagander.net>
Mon, 1 Oct 2007 14:32:02 +0000 (14:32 +0000)
Hiroshi Saito

src/interfaces/libpq/win32.mak

index e7819d22d9c66d12ddbf2e002bdd36b842b3d046..b5f825626d298eca32fa8421aedaa820aef154ea 100644 (file)
@@ -13,7 +13,8 @@ CPU=i386
 !MESSAGE Building the Win32 static library...
 !MESSAGE
 !ELSE
-ADD_DEFINES=/D "WIN64" /Wp64
+ADD_DEFINES=/D "WIN64" /Wp64 /GS
+ADD_SECLIB=bufferoverflowU.lib
 !MESSAGE Building the Win64 static library...
 !MESSAGE
 !ENDIF
@@ -175,7 +176,7 @@ CPP_SBRS=.
 RSC_PROJ=/l 0x409 /fo"$(INTDIR)\libpq.res"
 
 LINK32=link.exe
-LINK32_FLAGS=kernel32.lib user32.lib advapi32.lib shfolder.lib wsock32.lib secur32.lib $(SSL_LIBS)  $(KFW_LIB) \
+LINK32_FLAGS=kernel32.lib user32.lib advapi32.lib shfolder.lib wsock32.lib secur32.lib $(SSL_LIBS)  $(KFW_LIB) $(ADD_SECLIB) \
  /nologo /subsystem:windows /dll $(LOPT) /incremental:no \
  /pdb:"$(OUTDIR)\libpqdll.pdb" /machine:$(CPU) \
  /out:"$(OUTDIR)\$(OUTFILENAME).dll"\