Version: compiler name suffix update 259/head
authorsvost <ya.nowa@yandex.ru>
Tue, 5 Jan 2016 21:21:34 +0000 (00:21 +0300)
committersvost <ya.nowa@yandex.ru>
Tue, 5 Jan 2016 21:21:34 +0000 (00:21 +0300)
src/version.cpp

index 8e74499..e5d592d 100644 (file)
@@ -18,6 +18,10 @@ const std::string CLIENT_NAME("Satoshi");
 #endif
 
 // Compiler name
+#if defined(__GNUC__) && defined(__INTEL_COMPILER)
+/*code specific to linux icc compiler*/
+#define CL_NAME   "-icc"
+#else
 #ifdef __GNUC__
 /*code for GNU C compiler */
 #define CL_NAME   "-gcc"
@@ -35,6 +39,7 @@ const std::string CLIENT_NAME("Satoshi");
 #define CL_NAME   "-genericcl"
 /*others*/
 #endif
+#endif
 
 // The following part of the code determines the CLIENT_BUILD variable.
 // Several mechanisms are used for this: