[*] Once again, fuck off you dumbshit coooompiler devs
This commit is contained in:
parent
4c7af7a8af
commit
382e5c8b1d
@ -165,6 +165,7 @@ local function configureProjectCPUTarget()
|
||||
-- Dunno if intentional because SSE4.1 >= AVX, but either way, let's get some modern CPU features in an otherwise widely supported binary.
|
||||
-- Lets sit between v2 and v3 by a single intel generation.
|
||||
buildoptions { "-march=ivybridge" }
|
||||
disablewarnings { "dynamic-class-memaccess" }
|
||||
defines {"AURORA_RUNTIME_MEMSET=__builtin_memset"}
|
||||
defines {"AURORA_RUNTIME_MEMCPY=__builtin_memcpy"}
|
||||
defines {"AURORA_RUNTIME_MEMSET_=1"}
|
||||
@ -174,6 +175,7 @@ local function configureProjectCPUTarget()
|
||||
filter { "toolset:clang", "architecture:x86"}
|
||||
-- Let Linux x86_32 support Intel Core+ (2006) CPUs
|
||||
buildoptions { "-march=core2" }
|
||||
disablewarnings { "dynamic-class-memaccess" }
|
||||
defines {"AURORA_RUNTIME_MEMSET=__builtin_memset"}
|
||||
defines {"AURORA_RUNTIME_MEMCPY=__builtin_memcpy"}
|
||||
defines {"AURORA_RUNTIME_MEMSET_=1"}
|
||||
@ -188,7 +190,7 @@ local function configureProjectErrors()
|
||||
|
||||
filter {"toolset:clang"}
|
||||
buildoptions {"-fms-extensions"}
|
||||
buildoptions {"-fvolatile:ms"}
|
||||
--buildoptions {"-fevolatile:ms"}
|
||||
|
||||
-- The fucking retard cunts behind clang acknowledge there's a 2x slowdown here.
|
||||
-- Not only that, GCC optimize("no-stack-protector") is broken (ive tried other attributes), their ms stack guard check doesnt do anything,
|
||||
|
Loading…
Reference in New Issue
Block a user