mirror of
https://github.com/notwa/rc
synced 2025-03-16 06:52:49 -07:00
clang doesn't like this so use -mcpu instead
This commit is contained in:
parent
d86baa61ed
commit
15fda1d96a
1 changed files with 4 additions and 4 deletions
|
@ -127,10 +127,10 @@ compile() {
|
|||
local dr_flags=(-Ox -Zi)
|
||||
local hardened_flags=(-Ox -sdl)
|
||||
else
|
||||
local debug_flags=(-O1 -march=native -g -D_DEBUG);
|
||||
local release_flags=(-Ofast -march=native -mtune=native -g0 -fomit-frame-pointer -s -DNDEBUG)
|
||||
local dr_flags=(-Ofast -march=native -mtune=native -g -fomit-frame-pointer -DNDEBUG)
|
||||
local hardened_flags=(-O3 -march=native -mtune=native -g0 -s
|
||||
local debug_flags=(-O1 -mcpu=native -g -D_DEBUG);
|
||||
local release_flags=(-Ofast -mcpu=native -g0 -fomit-frame-pointer -s -DNDEBUG)
|
||||
local dr_flags=(-Ofast -mcpu=native --g -fomit-frame-pointer -DNDEBUG)
|
||||
local hardened_flags=(-O3 -mcpu=native -g0 -s
|
||||
-DNDEBUG -D_FORTIFY_SOURCE=2
|
||||
-Wformat -Wformat-security -Werror=format-security)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue