mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 10:07:38 -04:00
build: Turn on -fno-common globally
Can make global variable access more efficient at the price of erroring out if a variable is declared in more than one place. Change-Id: I918eacf4a4c8c7827be64f7f2ee04cc6cc2009e0
This commit is contained in:
parent
9f91f02159
commit
e4abe9177e
1 changed files with 1 additions and 1 deletions
2
tools/configure
vendored
2
tools/configure
vendored
|
@ -8,7 +8,7 @@
|
|||
#
|
||||
|
||||
# global CC options for all platforms
|
||||
CCOPTS="-W -Wall -Wextra -Wundef -Os -nostdlib -ffreestanding -Wstrict-prototypes -pipe -std=gnu99 -funit-at-a-time -fno-delete-null-pointer-checks -fno-strict-overflow"
|
||||
CCOPTS="-W -Wall -Wextra -Wundef -Os -nostdlib -ffreestanding -Wstrict-prototypes -pipe -std=gnu99 -funit-at-a-time -fno-delete-null-pointer-checks -fno-strict-overflow -fno-common"
|
||||
|
||||
# LD options for the core
|
||||
LDOPTS=""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue