diff options
Diffstat (limited to 'debian/patches/configure.diff')
-rw-r--r-- | debian/patches/configure.diff | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/debian/patches/configure.diff b/debian/patches/configure.diff index 15a20382..ff0c64e9 100644 --- a/debian/patches/configure.diff +++ b/debian/patches/configure.diff @@ -13,13 +13,6 @@ Configure Abseil for Debian. - Enable upstream's hardened build mode. - - Disable Intel SSE2 on i386, since Debian supports some i386 processors - without that extension. Keep it enabled on amd64, since all amd64 processors - have it. - - - Disable Intel SSSE3 entirely, since no i386 processor supports it and Debian - supports amd64 processors without it. - --- a/CMake/AbseilHelpers.cmake +++ b/CMake/AbseilHelpers.cmake @@ -281,7 +281,8 @@ @@ -87,23 +80,3 @@ Configure Abseil for Debian. +#define ABSL_OPTION_HARDENED 1 #endif // ABSL_BASE_OPTIONS_H_ ---- a/absl/base/config.h -+++ b/absl/base/config.h -@@ -877,7 +877,7 @@ - // which architectures support the various x86 instruction sets. - #ifdef ABSL_INTERNAL_HAVE_SSE2 - #error ABSL_INTERNAL_HAVE_SSE2 cannot be directly set --#elif defined(__SSE2__) -+#elif defined(__x86_64__) - #define ABSL_INTERNAL_HAVE_SSE2 1 - #elif defined(_M_X64) || (defined(_M_IX86_FP) && _M_IX86_FP >= 2) - // MSVC only defines _M_IX86_FP for x86 32-bit code, and _M_IX86_FP >= 2 -@@ -898,8 +898,6 @@ - // by the CPU. - #ifdef ABSL_INTERNAL_HAVE_SSSE3 - #error ABSL_INTERNAL_HAVE_SSSE3 cannot be directly set --#elif defined(__SSSE3__) --#define ABSL_INTERNAL_HAVE_SSSE3 1 - #endif - - // ABSL_INTERNAL_HAVE_ARM_NEON is used for compile-time detection of NEON (ARM |