Commit Graph

172 Commits

Author SHA1 Message Date
Jeffrey Walton
cd33142f6c Improved flow of setting variables in makefile 2015-07-23 03:17:18 -04:00
Jeffrey Walton
b3924a7b86 Additional changes to support Clang's integrated assembler. They have not been activated though. Uri and other testers will be able to uncomment the TODO line and everything will work as expected 2015-07-23 02:18:57 -04:00
Jeffrey Walton
6d0dd41eb0 Specialized defines to work with/around Clang integrated assembler. The two defines are WORKAROUND_LLVM_BUG_18916 and CRYPTOPP_USING_CLANG_INTEGRATED_ASSEMBLER. Once the 18916 bug is fixed, the other issues around the integrated assembler will remain 2015-07-22 03:48:10 -04:00
Jeffrey Walton
d40eee99c0 Ported relevant GNUmakefile changes to GNUmakefile-cross 2015-07-20 06:55:42 -04:00
Jeffrey Walton
d5a6f4c628 Updated comment on why -Wall is only enabled for Clang 2015-07-20 04:16:40 -04:00
Jeffrey Walton
77556fca7b Backed-off -Wall for GCC due to issues when managing induced warnings when using -Wall. 2015-07-20 03:30:43 -04:00
Jeffrey Walton
4b4156e6ba Fixed compile for MinGW 2015-07-19 22:09:35 -04:00
Jeffrey Walton
c4a5d802e7 Enabled -Wall for GCC 4.7 and above, and Clang 2015-07-19 15:04:57 -04:00
Jeffrey Walton
8c259ee6b4 Added recipe to create dependencies. The dependencies are only generated if multiarch is not in effect. MULTIARCH_SUPPORT was also changed to an overrideable makefile variable 2015-07-18 23:41:41 -04:00
Jeffrey Walton
134ba3e16b Added -fsanitize-undefined-trap-on-error to help with a call stack on violations. Disabled by default 2015-07-17 11:02:37 -04:00
Jeffrey Walton
04429b291d Added targets for UBsan and Asan 2015-07-16 00:47:09 -04:00
Jeffrey Walton
00cc470f04 Folded OPTIMIZE and SYMBOLS back into CXXFLAGS (we can use 'subst' to modify CXXFLAGS). Moved Cygwin work arounds into block guarded by IS_X86 (Cygwin only runs on Windows) 2015-07-15 19:03:49 -04:00
Jeffrey Walton
9bf0eed0f6 Cleared crash with GCC 4.8 and above and -O3. In a nutshell, it was due to vectorization and alignment violations agains the vmovdqa instruction 2015-07-13 22:53:16 -04:00
Jeffrey Walton
8ed9bc7f1f Fixed multiarch detection on OS X 2015-07-09 02:19:15 -04:00
Jeffrey Walton
94f28091e8 GNUmakefile improvements. Changed default optimization level to -O3, except on Cygwin. Added IS_DARWIN for consistency 2015-07-08 15:34:23 -04:00
Jeffrey Walton
99ed4c86db Added PHONY targets for clean, install and remove 2015-06-30 22:41:47 -04:00
Jeffrey Walton
1d8934e5b7 Removed -fPIC for Cygwin x86_64 compiles 2015-06-30 22:06:59 -04:00
Jeffrey Walton
cf08f3e98d Remove dSYM directory for OS X during clean 2015-06-24 15:57:17 -04:00
Jeffrey Walton
4206b4a4dc Added IS_X86_64, enabled -fPIC for IS_X86_64. Cleared compile error when building the shared object 2015-06-14 19:07:06 -04:00
Jeffrey Walton
08b0e9105f Changed ISX86 -> IS_X86 for consistency 2015-06-08 05:14:17 -04:00
Jeffrey Walton
ca6e2fa683 Fixed Clang compiler identification string 2015-06-07 20:50:10 -04:00
weidai
ed7652256c fix compile with MINGW 2013-01-26 17:15:07 +00:00
weidai
affcbcf139 fix clang dection for MacOS (Jeff Walton) 2012-05-23 17:56:48 +00:00
weidai
11c126bf8a fix compile with clang 2.9 (Jeff Walton) 2011-10-12 06:13:37 +00:00
weidai
ac6a61ed39 From Jeff Walton:
* added 'static' and 'dynamic' targets
* added libcryptopp.so to cleanup
* continue install/cleanup on error
* force cryptest.exe to link with static library
2011-09-19 01:37:29 +00:00
weidai
0171970142 fix for makefile and Panama cipher validation failure on armel http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=619856 2011-04-25 17:42:11 +00:00
weidai
3492bcc1d1 fix AS detection on (from FreeBSD) 2011-01-27 20:14:02 +00:00
weidai
045d804f9b fix compile with GCC 4.4 and -march=i386
fix minor documentation issues
fix compile w/o GAS 2.19 or later
2010-08-08 23:02:36 +00:00
weidai
9d42a6f6de fix compile with Sun CC on Linux 2010-08-08 08:13:09 +00:00
weidai
d43f0c7321 fix compile with Intel C++ Compiler 11.1 2010-08-04 23:42:11 +00:00
weidai
a3f2091bcd fix compile on GCC 4.4 and greater 2010-07-29 08:51:39 +00:00
weidai
c81fc05b99 better detection of GCC 4.2 2010-07-24 05:28:55 +00:00
weidai
9a892095a0 port to Sun Studio 12u1 Sun C++ 5.10 SunOS_i386 128229-02 2009/09/21 2010-07-05 11:14:14 +00:00
weidai
1315a7bc9a port to Sun Studio 12u1 Sun C++ 5.10 SunOS_i386 128229-02 2009/09/21
change makefile to compile for both i386 and x86_64 on Darwin/Mac OS X
2010-07-05 01:15:14 +00:00
weidai
1ce62ff79b add makefile option for shared library 2010-06-29 01:14:22 +00:00
weidai
5b809d7931 fix compile on MacOS X and MinGW 2009-04-05 19:58:48 +00:00
weidai
f299d530ce fix compile on FreeBSD 7.1 amd64 2009-03-14 22:21:14 +00:00
weidai
e4295fda97 fix compile on ICC 11 2009-03-04 09:27:52 +00:00
weidai
a47f06515b fix VC60 compile, project file line-endings, Apple GCC 4.2 compile 2009-03-03 10:18:44 +00:00
weidai
fa25129ac9 port to Sun Studio 12's 64-bit C++ Compiler 5.9 Patch 124864-09 2008/12/16 2009-02-13 12:18:26 +00:00
weidai
bb82d51d1e changed mind. remove -fPIC as default, document it as supported 2008-11-21 22:40:16 +00:00
weidai
12d515c6db add -fPIC to default flags 2008-11-21 05:33:00 +00:00
weidai
c8fe7e0718 add "test" target 2008-02-02 08:38:21 +00:00
weidai
800bd3ad85 remove -msse2 since we don't use SSE2 intrinsics anymore 2007-09-24 01:57:43 +00:00
weidai
03e2f7c3ae don't use -msse2 for GCC 3.3 2007-05-05 02:57:27 +00:00
weidai
64157fa5e0 add -Wa,--divide for Solaris 2007-05-05 01:21:44 +00:00
weidai
1a66826785 remove extraneous -D__pic__ 2007-05-04 19:55:34 +00:00
weidai
0f96a7cd38 revert -ffunction-sections -fdata-sections 2007-05-04 19:19:52 +00:00
weidai
460c2d6c6a enable -O2 and -march=native -mtune=native 2007-05-04 15:12:23 +00:00
weidai
3a3fef7436 fix compile on Sun CC 2007-04-16 05:40:37 +00:00
weidai
68a38c0b9a fix compile with Intel compiler 2007-04-16 02:51:59 +00:00
weidai
38ca2b38a8 enabled optimization flags by default in GNUmakefile 2007-04-15 22:59:29 +00:00
weidai
43b41c1042 update version number, port to Sun C++ 5.8 2006-12-18 02:34:33 +00:00
weidai
5184d7c8f3 use egrep instead of grep 2006-12-12 08:42:19 +00:00
weidai
d71d660150 fix ISX86 2006-12-11 09:15:53 +00:00
weidai
f05ea58bb3 port to GCC 4, reorganize implementations of SetKey 2006-12-10 02:12:23 +00:00
weidai
e23417d90a add -pthread and allow make install 2006-12-09 17:09:01 +00:00
weidai
9906ce0dd2 add more release build comments 2004-06-20 18:21:45 +00:00
weidai
9eab2390bc set CXX to c++ on Darwin 2004-06-19 11:42:41 +00:00
weidai
5bee373ff3 disable x86 assembly on systems without GNU as 2.10 or later 2004-06-19 11:00:52 +00:00
weidai
9a4304c42d use CXX instead of gcc directly 2003-10-22 21:08:07 +00:00
weidai
852394c4e0 add -lws2_32 on MinGW 2003-10-14 09:41:35 +00:00
weidai
5c3dbb91a2 use -msse2 on x86_64 2003-08-04 18:56:15 +00:00
weidai
93d56c76c1 enable SSE2 intrinsics on GCC 3.3 or later 2003-07-31 01:54:53 +00:00
weidai
259ee22eba split bench.cpp in 2 for alpha (.got subsegment exceeds 64K) 2003-07-29 01:16:22 +00:00
weidai
12157494b2 fix GCC compile 2003-07-11 19:16:35 +00:00
weidai
473e5df89b merge in 5.0.4 changes (exclude DES and SHA-2 from DLL),
attempt (failed) to build DLL with GCC
2003-07-10 04:34:23 +00:00
weidai
d52b49c51f fix bug in Grouper
add RIPEMD-???, Whirlpool, Shacal2, Camellia, Two-Track MAC (Kevin Springle)
change ChannelSwitch to allow non-blocking input (denis bider)
change Redirector to allow more options (denis bider)
fix MaurerRandomnessTest
optimize MD2 (Kevin Springle)
2003-04-15 00:38:48 +00:00
weidai
538de80a91 various changes for 5.1 2003-03-20 01:24:12 +00:00
weidai
a28627a6a5 add script-driven testing 2002-12-06 22:02:46 +00:00
weidai
1e45c2d305 compatibility fixes for MacOS X 2002-10-04 21:45:04 +00:00
weidai
a3b6ece7ab Initial revision 2002-10-04 17:31:41 +00:00