1
0
forked from pool/Botan
Botan/no-cpuid-header.patch
Daniel Molkentin 9ab8e8e450 Accepting request 487615 from home:dmolkentin:branches:devel:libraries:c_c++
- Add patch to build SLES11 (allows for simplified backporting, e.g. bsc#968030)
- Clean up spec file

- Update to 1.10.16 (bsc#1013209, bsc#974521, bsc#968030, bsc#968026,
    bsc#968025, bsc#965621, bsc#965620)

OBS-URL: https://build.opensuse.org/request/show/487615
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Botan?expand=0&rev=65
2017-04-12 15:18:32 +00:00

14 lines
445 B
Diff

diff --git a/src/utils/cpuid.cpp b/src/utils/cpuid.cpp
index f6581f09c..ae087fac3 100644
--- a/src/utils/cpuid.cpp
+++ b/src/utils/cpuid.cpp
@@ -36,7 +36,7 @@
#include <ia32intrin.h>
#define CALL_CPUID(type, out) do { __cpuid(out, type); } while(0)
-#elif defined(BOTAN_BUILD_COMPILER_IS_GCC) && (BOTAN_GCC_VERSION >= 430)
+#elif defined(BOTAN_BUILD_COMPILER_IS_GCC) && 0
// Only available starting in GCC 4.3
#include <cpuid.h>