Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

Mark global variables as extern #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eclipseo
Copy link

GCC now defaults to -fno-common. As a result, global variable accesses
are more efficient on various targets. In C, global variables with
multiple tentative definitions now result in linker errors.

Fix #27

Signed-off-by: Robert-André Mauchin [email protected]

GCC now defaults to -fno-common. As a result, global variable accesses
are more efficient on various targets. In C, global variables with
multiple tentative definitions now result in linker errors.

Fix intel#27

Signed-off-by: Robert-André Mauchin <[email protected]>
@eclipseo
Copy link
Author

Tested in Fedora Rawhide: https://koji.fedoraproject.org/koji/taskinfo?taskID=40890763

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GCC 10 compatibility issue
1 participant