diff --git a/deps/libtomcrypt b/deps/libtomcrypt index 0173cac..1e629e6 160000 --- a/deps/libtomcrypt +++ b/deps/libtomcrypt @@ -1 +1 @@ -Subproject commit 0173cac3be1475163cd279c5eee3c9e288b9aae0 +Subproject commit 1e629e6f64661a01b9f6164a50080c43cd4d7b84 diff --git a/deps/premake/libtomcrypt.lua b/deps/premake/libtomcrypt.lua index 7ca3570..12fdb1b 100644 --- a/deps/premake/libtomcrypt.lua +++ b/deps/premake/libtomcrypt.lua @@ -50,9 +50,13 @@ function libtomcrypt.project() removedefines { "_DLL", - "_USRDLL" + "_USRDLL", } + if os.istarget("darwin") then + buildoptions "-march=native" + end + linkoptions { "-IGNORE:4221" }