Skip to content

Commit

Permalink
fix: secure flags compat with osx
Browse files Browse the repository at this point in the history
  • Loading branch information
jaromil committed Jan 8, 2025
1 parent b14128b commit 1d00628
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/init.mk
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ cc := ${CC}

cflags_includes := -Isrc -Ilib/tinycc
cflags_gnu := -DLIBC_GNU -D_GNU_SOURCE
cflags_stack_protect := -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_FORTIFY_SOURCE=2
cflags_stack_protect := -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2

CFLAGS ?= -O2 ${cflags_stack_protect}

Expand Down

0 comments on commit 1d00628

Please sign in to comment.