vendor/libsodium/dist-build/osx.sh in rbnacl-libsodium-1.0.6 vs vendor/libsodium/dist-build/osx.sh in rbnacl-libsodium-1.0.7

- old
+ new

@@ -4,11 +4,11 @@ export OSX_VERSION_MIN=${OSX_VERSION_MIN-"10.8"} export OSX_CPU_ARCH=${OSX_CPU_ARCH-"core2"} mkdir -p $PREFIX || exit 1 -export CFLAGS="-arch x86_64 -mmacosx-version-min=${OSX_VERSION_MIN} -march=${OSX_CPU_ARCH} -O2 -g" -export LDFLAGS="-arch x86_64 -mmacosx-version-min=${OSX_VERSION_MIN} -march=${OSX_CPU_ARCH}" +export CFLAGS="-arch x86_64 -mmacosx-version-min=${OSX_VERSION_MIN} -march=${OSX_CPU_ARCH} -O2 -g -flto" +export LDFLAGS="-arch x86_64 -mmacosx-version-min=${OSX_VERSION_MIN} -march=${OSX_CPU_ARCH} -flto" make distclean > /dev/null ./configure --enable-minimal \ --prefix="$PREFIX" || exit 1