diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-08-08 14:58:08 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-08-14 18:55:17 +0200 |
commit | 8bd6bf93b7711a7ac7c5cbd7c3bb980481570ebd (patch) | |
tree | 6b81e0fa2b4bc33c525231969558e5bacddb93be /external/openssl | |
parent | 6a686b41eeefa815b2635724e0abe6522fe1661b (diff) |
fdo#82430: configure: MSVC build: avoid using SSE2 instructions
MSVC 2012 for x86 defaults to -arch:SSE2; binaries do not run on any AMD
32-bit CPU, neither on Intel Pentium III.
http://msdn.microsoft.com/en-us/library/vstudio/7t5yh4fd%28v=vs.110%29.aspx
Change-Id: Ie8253137db2699f2a7fa69c4ac4e7ded90931e3e
Diffstat (limited to 'external/openssl')
-rw-r--r-- | external/openssl/ExternalProject_openssl.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/external/openssl/ExternalProject_openssl.mk b/external/openssl/ExternalProject_openssl.mk index 12c757610ca5..ea5f8b22b1c8 100644 --- a/external/openssl/ExternalProject_openssl.mk +++ b/external/openssl/ExternalProject_openssl.mk @@ -61,7 +61,7 @@ OPENSSL_PLATFORM := \ ifeq ($(COM),MSC) $(call gb_ExternalProject_get_state_target,openssl,build): $(call gb_ExternalProject_run,build,\ - export CC="$(shell cygpath -w $(CC))" \ + export CC="$(shell cygpath -w $(filter-out -%,$(CC))) $(filter -%,$(CC))" \ && export PERL="$(shell cygpath -w $(PERL))" \ && export LIB="$(ILIB)" \ && $(PERL) Configure $(OPENSSL_PLATFORM) no-idea \ |