Skip to content

Commit

Permalink
erofs-utils: Fix debug compilation
Browse files Browse the repository at this point in the history
Signed-off-by: sekaiacg <[email protected]>
  • Loading branch information
sekaiacg committed Apr 5, 2023
1 parent 5f9104e commit df4844e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions build/cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,21 @@ add_definitions(

# Compile flags
set(GLOBAL_CFLAGS
"-funwind-tables"
"-fstack-protector-strong"
"-Wformat"
"-Werror=format-security"
"-no-canonical-prefixes"
"-fdata-sections"
"-ffunction-sections"
"-fvisibility=hidden"
"-fvisibility-inlines-hidden"
"-funwind-tables"
"-fstack-protector-strong"
"-fno-exceptions"
"-fno-rtti"
)
set(GLOBAL_CFLAGS_RELEASE
"-Os"
"-D_FORTIFY_SOURCE=2"
"-fdata-sections"
"-ffunction-sections"
"-fvisibility=hidden"
"-fvisibility-inlines-hidden"
)

# Linker flags
Expand Down

0 comments on commit df4844e

Please sign in to comment.