From 11ad0bace4ce1dd39189885dcca7b42e2150c2b1 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 23 Jan 2008 17:53:18 -0500 Subject: [PATCH] ENH: Remove sparcv9 architecture subdir added earlier. The new implicit link directory policy takes care of the problem. --- Modules/CMakeCompilerABI.h | 2 -- Source/cmFindLibraryCommand.cxx | 5 ----- 2 files changed, 7 deletions(-) diff --git a/Modules/CMakeCompilerABI.h b/Modules/CMakeCompilerABI.h index d6d5ca295..8980abb5a 100644 --- a/Modules/CMakeCompilerABI.h +++ b/Modules/CMakeCompilerABI.h @@ -17,8 +17,6 @@ const char info_sizeof_dptr[] = { # define ABI_ID "ELF N32" #elif defined(__sgi) && defined(_ABI64) # define ABI_ID "ELF 64" -#elif defined(__sparcv9) -# define ABI_ID "SPARCV9" #elif defined(__ELF__) # define ABI_ID "ELF" #endif diff --git a/Source/cmFindLibraryCommand.cxx b/Source/cmFindLibraryCommand.cxx index 2938e2e39..1f9a9f478 100644 --- a/Source/cmFindLibraryCommand.cxx +++ b/Source/cmFindLibraryCommand.cxx @@ -98,11 +98,6 @@ bool cmFindLibraryCommand // Convert lib to lib32. this->AddArchitecturePaths("32"); } - else if(abi.find("SPARCV9") != abi.npos) - { - // Convert lib to lib/sparcv9. - this->AddArchitecturePaths("/sparcv9"); - } } if(this->Makefile->GetCMakeInstance()