head 1.5; access; symbols pkgsrc-2026Q1:1.5.0.10 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.5.0.8 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.5.0.6 pkgsrc-2025Q3-base:1.5 pkgsrc-2025Q2:1.5.0.4 pkgsrc-2025Q2-base:1.5 pkgsrc-2025Q1:1.5.0.2 pkgsrc-2025Q1-base:1.5 pkgsrc-2024Q4:1.4.0.18 pkgsrc-2024Q4-base:1.4 pkgsrc-2024Q3:1.4.0.16 pkgsrc-2024Q3-base:1.4 pkgsrc-2024Q2:1.4.0.14 pkgsrc-2024Q2-base:1.4 pkgsrc-2024Q1:1.4.0.12 pkgsrc-2024Q1-base:1.4 pkgsrc-2023Q4:1.4.0.10 pkgsrc-2023Q4-base:1.4 pkgsrc-2023Q3:1.4.0.8 pkgsrc-2023Q3-base:1.4 pkgsrc-2023Q2:1.4.0.6 pkgsrc-2023Q2-base:1.4 pkgsrc-2023Q1:1.4.0.4 pkgsrc-2023Q1-base:1.4 pkgsrc-2022Q4:1.4.0.2 pkgsrc-2022Q4-base:1.4 pkgsrc-2022Q3:1.3.0.22 pkgsrc-2022Q3-base:1.3 pkgsrc-2022Q2:1.3.0.20 pkgsrc-2022Q2-base:1.3 pkgsrc-2022Q1:1.3.0.18 pkgsrc-2022Q1-base:1.3 pkgsrc-2021Q4:1.3.0.16 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.14 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.3.0.12 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.3.0.10 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.3.0.8 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.3.0.6 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.3.0.4 pkgsrc-2020Q2-base:1.3 pkgsrc-2020Q1:1.3.0.2 pkgsrc-2020Q1-base:1.3 pkgsrc-2019Q4:1.2.0.8 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.4 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.2 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.1.0.20 pkgsrc-2019Q1-base:1.1 pkgsrc-2018Q4:1.1.0.18 pkgsrc-2018Q4-base:1.1 pkgsrc-2018Q3:1.1.0.16 pkgsrc-2018Q3-base:1.1 pkgsrc-2018Q2:1.1.0.14 pkgsrc-2018Q2-base:1.1 pkgsrc-2018Q1:1.1.0.12 pkgsrc-2018Q1-base:1.1 pkgsrc-2017Q4:1.1.0.10 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.8 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.4 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.2; locks; strict; comment @# @; 1.5 date 2025.02.13.18.18.54; author adam; state Exp; branches; next 1.4; commitid 8UNAUT40p6ZKXkJF; 1.4 date 2022.10.02.16.20.26; author nros; state Exp; branches; next 1.3; commitid NKVz6xqSE4Y87aWD; 1.3 date 2020.03.22.17.52.52; author tnn; state Exp; branches; next 1.2; commitid iQULNLwUgIddkq1C; 1.2 date 2019.06.05.19.06.07; author adam; state Exp; branches; next 1.1; commitid ixUMiZMfW6JX42qB; 1.1 date 2017.05.18.21.20.23; author adam; state Exp; branches 1.1.2.1; next ; commitid pe77fsOPyb91SURz; 1.1.2.1 date 2017.05.18.21.20.23; author bsiegert; state dead; branches; next 1.1.2.2; commitid ZAV7DzDznRKiCjTz; 1.1.2.2 date 2017.05.29.18.37.29; author bsiegert; state Exp; branches; next ; commitid ZAV7DzDznRKiCjTz; desc @@ 1.5 log @crypto++: updated to 8.9.0 Crypto++ 8.9 minor release, recompile of programs required expanded community input and support 88 unique contributors as of this release add additional tests to datatest.cpp fix SIMON128 Asan finding on POWER8 fix AES/CFB and AES/CTR modes self test failures when using Cryptogams AES on ARMv7 fix ARIA/CTR mode self test failures when inString==outString fix HIGHT/CTR mode self test failures when inString==outString fix Rabbit/CTR mode self test failures when inString==outString fix HC128/CTR and HC256/CTR mode self test failures when inString==outString fix Prime Table and dangling reference to a temporary fix Singleton::Ref() when using C++11 memory fences remove unneeded call to Crop() in Randomize() Crypto++ 8.8 minor release, recompile of programs required expanded community input and support 88 unique contributors as of this release fix crash in cryptest.exe when invoked with no options fix crash in library due to GCC removing live code fix RSA with key size 16 may provide an invalid key fix failure to build on 32-bit x86 fix failure to build on iPhone Simulator for arm64 fix failure to build on Windows arm64 test for SSSE3 before using the ISA fix include of when using MSVC improve performance of CRC32C_Update_SSE42 for x86-64 update documentation @ text @$NetBSD: patch-GNUmakefile,v 1.4 2022/10/02 16:20:26 nros Exp $ On Darwin, use absolute path to avoid conflict with devel/libtool. Fix dylib name. --- GNUmakefile.orig 2023-10-01 16:38:21.000000000 +0000 +++ GNUmakefile @@@@ -33,7 +33,7 @@@@ CHMOD ?= chmod MKDIR ?= mkdir -p LN ?= ln -sf -LDCONF ?= /sbin/ldconfig -n +LDCONF ?= true # Solaris provides a non-Posix sed and grep at /usr/bin # Solaris 10 is missing AR in /usr/bin @@@@ -87,7 +87,7 @@@@ INTEL_COMPILER := $(shell $(CXX) --versi # Enable shared object versioning for Linux and Solaris HAS_SOLIB_VERSION ?= 0 -ifneq ($(IS_LINUX)$(IS_HURD)$(IS_SUN),000) +ifeq ($(IS_DARWIN),0) HAS_SOLIB_VERSION := 1 endif @@@@ -1148,9 +1148,9 @@@@ ifeq ($(HAS_SOLIB_VERSION),1) # Different patchlevels and minors are compatible since 6.1 SOLIB_COMPAT_SUFFIX=.$(LIB_MAJOR) # Linux uses -Wl,-soname -ifneq ($(IS_LINUX)$(IS_HURD),00) +ifneq ($(IS_LINUX)$(IS_HURD)$(IS_NETBSD),00) # Linux uses full version suffix for shared library -SOLIB_VERSION_SUFFIX=.$(LIB_MAJOR).$(LIB_MINOR).$(LIB_PATCH) +SOLIB_VERSION_SUFFIX=.$(LIB_MAJOR).$(LIB_MINOR) SOLIB_FLAGS=-Wl,-soname,libcryptopp.so$(SOLIB_COMPAT_SUFFIX) endif # Solaris uses -Wl,-h @@@@ -1448,7 +1448,7 @@@@ ifneq ($(wildcard libcryptopp.dylib),) @@-$(MKDIR) $(DESTDIR)$(LIBDIR) $(CP) libcryptopp.dylib $(DESTDIR)$(LIBDIR) $(CHMOD) u=rwx,go=rx $(DESTDIR)$(LIBDIR)/libcryptopp.dylib - -install_name_tool -id $(DESTDIR)$(LIBDIR)/libcryptopp.dylib $(DESTDIR)$(LIBDIR)/libcryptopp.dylib + -install_name_tool -id $(LIBDIR)/libcryptopp.dylib $(DESTDIR)$(LIBDIR)/libcryptopp.dylib endif ifneq ($(wildcard libcryptopp.so$(SOLIB_VERSION_SUFFIX)),) @@-$(MKDIR) $(DESTDIR)$(LIBDIR) @ 1.4 log @Update security/crypto++ to version 8.7.0 Changes according to Changelog: 8.7.0 - August 7, 2022 - minor release, recompile of programs required - expanded community input and support * 81 unique contributors as of this release - fix RSA key generation for small moduli - fix AES-GCM with AESNI but without CLMUL - fix Clang warning with C++17 - fix MinGW builds due to use of O_NOFOLLOW - rework CFB_CipherTemplate::ProcessData and AdditiveCipherTemplate::ProcessData * restored performance and avoided performance penalty of a temp buffer - fix undersized SecBlock buffer in Integer bit operations - work around several GCC 11 & 12 problems 8.6.0 - September 21, 2021 - minor release, recompile of programs required - expanded community input and support * 74 unique contributors as of this release - fix ElGamal encryption - fix ChaCha20 AVX2 implementation - add octal and decimal literal prefix parsing to Integer - add missing overload in ed25519Signer and ed25519Verifier - make SHA-NI independent of AVX and AVX2 - fix OldRandomPool GenerateWord32 - use CPPFLAGS during feature testing - fix compile on CentOS 5 - fix compile on FreeBSD - fix feature testing on ARM A-32 and Aarch64 - enable inline ASM for CRC and PMULL on Apple M1 - fix Intel oneAPI compile - rename test files with *.cpp extension - fix GCC compile error due to missing _mm256_set_m128i - add LSH-256 and LSH-512 hash functions - add ECIES_P1363 for backwards compatibility - fix AdditiveCipherTemplate ProcessData - remove CRYPTOPP_NO_CXX11 define - add -fno-common for Darwin builds - update documentation 8.5.0 - March 7, 2021 - minor release, no recompile of programs required - expanded community input and support * 70 unique contributors as of this release - port to Apple M1 hardware 8.4.0 - January 2, 2021 - minor release, recompile of programs required - expanded community input and support * 67 unique contributors as of this release - fix SIGILL on POWER8 when compiling with GCC 10 - fix potential out-of-bounds write in FixedSizeAllocatorWithCleanup - fix compile on AIX POWER7 with IBM XLC 12.01 - fix compile on Solaris with SunCC 12.6 - revert changes for constant-time elliptic curve algorithms - fix makefile clean and distclean recipes 8.3.0 - December 20, 2020 - minor release, recompile of programs required - expanded community input and support * 66 unique contributors as of this release - fix use of macro CRYPTOPP_ALIGN_DATA - fix potential out-of-bounds read in ECDSA - fix std::bad_alloc when using ByteQueue in pipeline - fix missing CRYPTOPP_CXX17_EXCEPTIONS with Clang - fix potential out-of-bounds read in GCM mode - add configure.sh when preprocessor macros fail - fix potential out-of-bounds read in SipHash - fix compile error on POWER9 due to vec_xl_be - fix K233 curve on POWER8 - add Cirrus CI testing - fix broken encryption for some 64-bit ciphers - fix Android cpu-features.c using C++ compiler - disable RDRAND and RDSEED for some AMD processors - fix BLAKE2 hash calculation using Salt and Personalization - refresh Android and iOS build scripts - add XTS mode - fix circular dependency between misc.h and secblock.h - add Certificate interface - fix recursion in AES::Encryption without AESNI - add missing OID for ElGamal encryption - fix missing override in KeyDerivationFunction-derived classes - fix RDSEED assemble under MSVC - fix elliptic curve timing leaks (CVE-2019-14318) - add link-library variable to Makefiles - fix SIZE_MAX definition in misc.h - add GetWord64 and PutWord64 to BufferedTransformation - use HKDF in AutoSeededX917RNG::Reseed - fix Asan finding in VMAC on i686 in inline asm - fix undeclared identifier _mm_roti_epi64 on Gentoo - fix ECIES and GetSymmetricKeyLength - fix possible divide by zero in PKCS5_PBKDF2_HMAC - refine ASN.1 encoders and decoders - disable BMI2 code paths in Integer class - fix use of CRYPTOPP_CLANG_VERSION - add NEON SHA1, SHA256 and SHA512 from Cryptogams - add ARM SHA1, SHA256 and SHA512 from Cryptogams - make config.h more autoconf friendly - handle Clang triplet armv8l-unknown-linux-gnueabihf - fix reference binding to misaligned address in xed25519 - clear asserts in TestDataNameValuePairs @ text @d1 1 a1 1 $NetBSD: patch-GNUmakefile,v 1.3 2020/03/22 17:52:52 tnn Exp $ a2 1 Avoid -march=native compiler flag. d6 1 a6 1 --- GNUmakefile.orig 2022-08-07 19:52:03.000000000 +0000 d26 1 a26 44 @@@@ -969,42 +969,6 @@@@ ARFLAGS = -xar -o RANLIB = true endif -# Native build testing. Issue 'make native'. -ifeq ($(findstring native,$(MAKECMDGOALS)),native) - NATIVE_OPT = - - # Try GCC and compatibles first - TPROG = TestPrograms/test_cxx.cpp - TOPT = -march=native - HAVE_OPT = $(shell $(TCOMMAND) 2>&1 | wc -w) - ifeq ($(strip $(HAVE_OPT)),0) - NATIVE_OPT = -march=native - endif # NATIVE_OPT - - # And tune - ifeq ($(NATIVE_OPT),) - TOPT = -mtune=native - HAVE_OPT = $(shell $(TCOMMAND) 2>&1 | wc -w) - ifeq ($(strip $(HAVE_OPT)),0) - NATIVE_OPT = -mtune=native - endif # NATIVE_OPT - endif - - # Try SunCC next - ifeq ($(NATIVE_OPT),) - TOPT = -native - HAVE_OPT = $(shell $(TCOMMAND) 2>&1 | wc -w) - ifeq ($(strip $(HAVE_OPT)),0) - NATIVE_OPT = -native - endif # NATIVE_OPT - endif - - ifneq ($(NATIVE_OPT),) - CRYPTOPP_CXXFLAGS += $(NATIVE_OPT) - endif - -endif # Native - # Undefined Behavior Sanitizer (UBsan) testing. Issue 'make ubsan'. ifeq ($(findstring ubsan,$(MAKECMDGOALS)),ubsan) CRYPTOPP_CXXFLAGS := $(CRYPTOPP_CXXFLAGS:-g%=-g3) @@@@ -1139,9 +1103,9 @@@@ ifeq ($(HAS_SOLIB_VERSION),1) d38 1 a38 1 @@@@ -1443,7 +1407,7 @@@@ ifneq ($(wildcard libcryptopp.dylib),) @ 1.3 log @crypto++: homogenize shared library rules. Don't bomb if ldconfig not found. @ text @d1 1 a1 1 $NetBSD: patch-GNUmakefile,v 1.2 2019/06/05 19:06:07 adam Exp $ d7 1 a7 1 --- GNUmakefile.orig 2019-04-28 23:36:50.000000000 +0000 d9 1 a9 1 @@@@ -27,7 +27,7 @@@@ CHMOD ?= chmod d16 3 a18 3 # Solaris provides a non-Posix grep at /usr/bin ifneq ($(wildcard /usr/xpg4/bin/grep),) @@@@ -83,7 +83,7 @@@@ endif d27 2 a28 7 @@@@ -140,7 +140,7 @@@@ endif ifneq ($(IS_DARWIN),0) CXX ?= c++ # CXXFLAGS += -stdlib=libc++ - AR = libtool + AR = /usr/bin/libtool ARFLAGS = -static -o a30 4 @@@@ -846,32 +846,6 @@@@ ifeq ($(findstring no-asm,$(MAKECMDGOALS endif # CXXFLAGS endif # No ASM d36 1 a36 1 - TPROG = TestPrograms/test_cxx.cxx d38 1 a38 1 - HAVE_OPT = $(shell $(CXX) $(TCXXFLAGS) $(ZOPT) $(TOPT) $(TPROG) -o $(TOUT) 2>&1 | tr ' ' '\n' | wc -l) d43 9 d55 1 a55 1 - HAVE_OPT = $(shell $(CXX) $(TCXXFLAGS) $(ZOPT) $(TOPT) $(TPROG) -o $(TOUT) 2>&1 | tr ' ' '\n' | wc -l) d62 1 a62 1 - CXXFLAGS += $(NATIVE_OPT) d66 1 a66 1 d69 2 a70 1 @@@@ -1006,9 +980,9 @@@@ ifeq ($(HAS_SOLIB_VERSION),1) d82 1 a82 1 @@@@ -1248,7 +1222,7 @@@@ ifneq ($(wildcard libcryptopp.dylib),) d85 1 a85 1 $(CHMOD) 0755 $(DESTDIR)$(LIBDIR)/libcryptopp.dylib a90 8 @@@@ -1256,6 +1230,7 @@@@ ifneq ($(wildcard libcryptopp.so$(SOLIB_ $(CHMOD) 0755 $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_VERSION_SUFFIX) ifeq ($(HAS_SOLIB_VERSION),1) -$(LN) libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so + -$(LN) libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_COMPAT_SUFFIX) $(LDCONF) $(DESTDIR)$(LIBDIR) endif endif @ 1.2 log @crypto++: updated to 8.2.0 Version 8.2.0 minor release, no recompile of programs required expanded community input and support 56 unique contributors as of this release use PowerPC unaligned loads and stores with Power8 add SKIPJACK test vectors fix SHAKE-128 and SHAKE-256 compile removed IS_NEON from Makefile fix Aarch64 build on Fedora 29 fix missing GF2NT_233_Multiply_Reduce_CLMUL in FIPS DLL add missing BLAKE2 constructors fix missing BlockSize() in BLAKE2 classes Version 8.1.0 minor release, no recompile of programs required expanded community input and support 56 unique contributors as of this release fix OS X PowerPC builds with Clang add Microsoft ARM64 support fix iPhone Simulator build due to missign symbols add CRYPTOPP_BUGGY_SIMD_LOAD_AND_STORE add carryless multiplies for NIST b233 and k233 curves fix OpenMP build due to use of OpenMP 4 with down-level compilers add SignStream and VerifyStream for ed25519 and large files fix missing AlgorithmProvider in PanamaHash add SHAKE-128 and SHAKE-256 fix AVX2 build due to _mm256_broadcastsi128_si256 add IETF ChaCha, XChaCha, ChaChaPoly1305 and XChaChaPoly1305 Version 8.0.0 major release, recompile of programs required expanded community input and support 54 unique contributors as of this release add x25519 key exchange and ed25519 signature scheme add limited Asymmetric Key Package support from RFC 5958 add Power9 DARN random number generator support add CHAM, HC-128, HC-256, Hight, LEA, Rabbit, Simeck fix FixedSizeAllocatorWithCleanup may be unaligned on some platforms cutover to GNU Make-based cpu feature tests rename files with dashes to underscores fix LegacyDecryptor and LegacyDecryptorWithMAC use wrong MAC fix incorrect AES/CBC decryption on Windows avoid Singleton when possible, avoid std::call_once completely fix SPARC alignment problems due to GetAlignmentOf() on word64 add ARM AES asm implementation from Cryptogams remove CRYPTOPP_ALLOW_UNALIGNED_DATA_ACCESS support @ text @d1 1 a1 1 $NetBSD: patch-GNUmakefile,v 1.1 2017/05/18 21:20:23 adam Exp $ d9 18 d69 12 d90 8 @ 1.1 log @Crypto++ 5.6.5 The 5.6.5 release was mostly a maintenance release. The release included two CVE fixes. The first, CVE-2016-7420, was a procedural finding due to external build systems failing to define NDEBUG for release builds. The gap was the project's failure to tell users to define NDEBUG. The second, CVE-2016-7544, was a potential memory corruption on Windows platforms when using Microsoft compilers due to use of _malloca and _freea. Due to CVE-2016-7420 and the possibility for an unwanted assert to egress data, users and distros are encouraged to recompile the library and all dependent programs. @ text @d1 1 a1 1 $NetBSD$ d5 1 d7 1 a7 1 --- GNUmakefile.orig 2016-10-10 23:49:54.000000000 +0000 d9 7 a15 2 @@@@ -125,12 +125,6 @@@@ ifeq ($(IS_X86)$(IS_X32)$(IS_CYGWIN)$(IS endif d18 3 a20 14 -# Guard use of -march=native -ifeq ($(GCC42_OR_LATER)$(IS_NETBSD),10) - CXXFLAGS += -march=native -else ifneq ($(CLANG_COMPILER)$(INTEL_COMPILER),00) - CXXFLAGS += -march=native -else # GCC 3.3 and "unknown option -march=" # Ubuntu GCC 4.1 compiler crash with -march=native # NetBSD GCC 4.8 compiler and "bad value (native) for -march= switch" @@@@ -140,7 +134,6 @@@@ else else ifeq ($(SUN_COMPILER)$(IS_X86),01) CXXFLAGS += -m32 endif # X86/X32/X64 -endif d22 26 a47 4 # Aligned access required for -O3 and above due to vectorization UNALIGNED_ACCESS := $(shell $(EGREP) -c "^[[:space:]]*//[[:space:]]*\#[[:space:]]*define[[:space:]]*CRYPTOPP_NO_UNALIGNED_DATA_ACCESS" config.h) @@@@ -271,7 +264,7 @@@@ endif # OpenMP endif # IS_LINUX d49 11 a59 6 ifneq ($(IS_DARWIN),0) -AR = libtool +AR = /usr/bin/libtool ARFLAGS = -static -o CXX ?= c++ ifeq ($(IS_GCC_29),1) @ 1.1.2.1 log @file patch-GNUmakefile was added on branch pkgsrc-2017Q1 on 2017-05-29 18:37:29 +0000 @ text @d1 37 @ 1.1.2.2 log @Pullup ticket #5457 - requested by sevan security/crypto++: security fix Revisions pulled up: - security/crypto++/Makefile 1.21 - security/crypto++/PLIST 1.7 - security/crypto++/buildlink3.mk 1.13 - security/crypto++/distinfo 1.12 - security/crypto++/patches/patch-GNUmakefile 1.1 - security/crypto++/patches/patch-aa deleted - security/crypto++/patches/patch-config.h deleted --- Module Name: pkgsrc Committed By: adam Date: Thu May 18 21:20:23 UTC 2017 Modified Files: pkgsrc/security/crypto++: Makefile PLIST buildlink3.mk distinfo Added Files: pkgsrc/security/crypto++/patches: patch-GNUmakefile Removed Files: pkgsrc/security/crypto++/patches: patch-aa patch-config.h Log Message: Crypto++ 5.6.5 The 5.6.5 release was mostly a maintenance release. The release included two CVE fixes. The first, CVE-2016-7420, was a procedural finding due to external build systems failing to define NDEBUG for release builds. The gap was the project's failure to tell users to define NDEBUG. The second, CVE-2016-7544, was a potential memory corruption on Windows platforms when using Microsoft compilers due to use of _malloca and _freea. Due to CVE-2016-7420 and the possibility for an unwanted assert to egress data, users and distros are encouraged to recompile the library and all dependent programs. @ text @a0 37 $NetBSD: patch-GNUmakefile,v 1.1 2017/05/18 21:20:23 adam Exp $ Avoid -march=native compiler flag. On Darwin, use absolute path to avoid conflict with devel/libtool. --- GNUmakefile.orig 2016-10-10 23:49:54.000000000 +0000 +++ GNUmakefile @@@@ -125,12 +125,6 @@@@ ifeq ($(IS_X86)$(IS_X32)$(IS_CYGWIN)$(IS endif endif -# Guard use of -march=native -ifeq ($(GCC42_OR_LATER)$(IS_NETBSD),10) - CXXFLAGS += -march=native -else ifneq ($(CLANG_COMPILER)$(INTEL_COMPILER),00) - CXXFLAGS += -march=native -else # GCC 3.3 and "unknown option -march=" # Ubuntu GCC 4.1 compiler crash with -march=native # NetBSD GCC 4.8 compiler and "bad value (native) for -march= switch" @@@@ -140,7 +134,6 @@@@ else else ifeq ($(SUN_COMPILER)$(IS_X86),01) CXXFLAGS += -m32 endif # X86/X32/X64 -endif # Aligned access required for -O3 and above due to vectorization UNALIGNED_ACCESS := $(shell $(EGREP) -c "^[[:space:]]*//[[:space:]]*\#[[:space:]]*define[[:space:]]*CRYPTOPP_NO_UNALIGNED_DATA_ACCESS" config.h) @@@@ -271,7 +264,7 @@@@ endif # OpenMP endif # IS_LINUX ifneq ($(IS_DARWIN),0) -AR = libtool +AR = /usr/bin/libtool ARFLAGS = -static -o CXX ?= c++ ifeq ($(IS_GCC_29),1) @