Skip to content

Commit

Permalink
meson.build:lightcleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
andy5995 committed Jul 14, 2021
1 parent c459fd5 commit 7598d11
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,18 @@ project(
)

add_global_arguments(
['-fno-common', '-D_GNU_SOURCE'],
['-D_GNU_SOURCE'],
language : 'c'
)

cc = meson.get_compiler('c')

extra_flags = [
['-fstack-protector-strong'],
['-fanalyzer'],
['-Wformat-security'],
['-Wformat-overflow=2']
'-fno-common',
'-fstack-protector-strong',
'-fanalyzer',
'-Wformat-security',
'-Wformat-overflow=2'
]

foreach cflag : extra_flags
Expand Down

0 comments on commit 7598d11

Please sign in to comment.