Skip to content

Commit

Permalink
Merge pull request #2219 from jphickey/fix-2218-no-common
Browse files Browse the repository at this point in the history
Fix #2218, add -fno-common to arch build flags
  • Loading branch information
dzbaker committed Dec 6, 2022
2 parents 70906a7 + 200031f commit 5529578
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/sample_defs/arch_build_custom_native.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
#
add_compile_options(
-Wcast-align=strict # Warn about casts that increase alignment requirements
-fno-common # Do not use a common section for globals
)

0 comments on commit 5529578

Please sign in to comment.