diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-11-06 18:59:45 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-11-07 01:34:43 +0100 |
commit | eca3dec2047bf675932cc9a6b2ad8acaaf919a24 (patch) | |
tree | 6adb76a0d80afbbdac72f1d194535d4573fbfb35 /external/openssl | |
parent | 9487456637abc1f26eda26f9e38f260b5f49edc2 (diff) |
fdo#42783: remove CPU variable from environment
Replace uses with CPUNAME instead, and get rid of the horrible
postgresql patch that worked around environment leakage.
Change-Id: I38ccabfc438360524a272901bb9332ea708e274c
Diffstat (limited to 'external/openssl')
-rw-r--r-- | external/openssl/ExternalProject_openssl.mk | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/external/openssl/ExternalProject_openssl.mk b/external/openssl/ExternalProject_openssl.mk index e41adb868e5a..919e354f6d7f 100644 --- a/external/openssl/ExternalProject_openssl.mk +++ b/external/openssl/ExternalProject_openssl.mk @@ -19,10 +19,10 @@ $(eval $(call gb_ExternalProject_register_targets,openssl,\ OPENSSL_PLATFORM := \ $(if $(filter LINUX FREEBSD ANDROID,$(OS)),\ - $(if $(filter I,$(CPU)),\ + $(if $(filter INTEL,$(CPUNAME)),\ $(if $(filter GNU/kFreeBSD,$(shell uname)),debian-kfreebsd-i386,linux-elf)\ ,\ - $(if $(filter X,$(CPU)),\ + $(if $(filter X86_64,$(CPUNAME)),\ $(if $(filter GNU/kFreeBSD,$(shell uname)),\ debian-kfreebsd-amd64\ ,\ @@ -34,10 +34,8 @@ OPENSSL_PLATFORM := \ )\ ,\ $(if $(filter SOLARIS,$(OS)),\ - $(if $(filter INTEL,$(CPUNAME)),\ - $(if $(filter X,$(CPU)),solaris64-x86_64-cc,solaris-x86-cc)\ - ,\ - solaris-sparcv9-cc\ + $(if $(filter INTEL,$(CPUNAME)),solaris-x86-cc,\ + $(if $(filter X86_64,$(CPUNAME)),solaris64-x86_64-cc,solaris-sparcv9-cc)\ )\ ,\ $(if $(filter IOS,$(OS)),\ @@ -47,11 +45,11 @@ OPENSSL_PLATFORM := \ $(if $(filter GCC,$(COM)),\ mingw\ ,\ - $(if $(filter I,$(CPU)),VC-WIN32,VC-WIN64A)\ + $(if $(filter INTEL,$(CPUNAME)),VC-WIN32,VC-WIN64A)\ )\ ,\ $(if $(filter MACOSX,$(OS)),\ - $(if $(filter I,$(CPU)),darwin-i386-cc,darwin64-x86_64-cc)\ + $(if $(filter INTEL,$(CPUNAME)),darwin-i386-cc,darwin64-x86_64-cc)\ )\ )\ )\ |