summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <michael.stahl@allotropia.de>2021-02-04 11:50:41 +0100
committerMichael Stahl <michael.stahl@allotropia.de>2021-02-04 11:50:41 +0100
commit27928a11cd150d7538937109326da295adebe844 (patch)
treea854146d1288b5245fabcdf005c827a0b769bc4b
parentfc1bb2e5271f4810f7abebaf84eb6d839a3f3e43 (diff)
Revert "postgresql: try to cargo-cult MSBuild arguments"
This reverts commit 02c1cd9f93e5b5da469e9d6ff8668f415965ecfc.
-rw-r--r--external/postgresql/ExternalProject_postgresql.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/external/postgresql/ExternalProject_postgresql.mk b/external/postgresql/ExternalProject_postgresql.mk
index 151b62397dd4..1e0c7d848047 100644
--- a/external/postgresql/ExternalProject_postgresql.mk
+++ b/external/postgresql/ExternalProject_postgresql.mk
@@ -24,9 +24,7 @@ $(eval $(call gb_ExternalProject_use_nmake,postgresql,build))
$(call gb_ExternalProject_get_state_target,postgresql,build) :
$(call gb_ExternalProject_run,build,\
- MSBFLAGS="/p:Platform=$(if $(filter X86_64,$(CPUNAME)),x64,Win32) \
- $(if $(filter 160,$(VCVER)),/p:PlatformToolset=v142 /p:VisualStudioVersion=16.0 /ToolsVersion:Current) \
- $(if $(filter 10,$(WINDOWS_SDK_VERSION)),/p:WindowsTargetPlatformVersion=$(UCRTVERSION))" \
+ MSBFLAGS=/p:Platform=$(if $(filter X86_64,$(CPUNAME)),x64,Win32) \
$(PERL) build.pl $(if $(MSVC_USE_DEBUG_RUNTIME),Debug,Release) libpq \
,src/tools/msvc)