mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 06:36:24 +00:00
Use -std=c11 when building
This is needed for harfbuzz 2.0 on macOS. -std=c11 was supported as of gcc 4.7 released in 2014. So hopefully this wont break compilation on any systems otherwise capable of running kitty. Fixes #1196
This commit is contained in:
parent
f8ebba3954
commit
f098e6c973
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
|
@ -190,7 +190,7 @@ def init_env(
|
|||
cppflags = shlex.split(cppflags)
|
||||
cflags = os.environ.get(
|
||||
'OVERRIDE_CFLAGS', (
|
||||
'-Wextra -Wno-missing-field-initializers -Wall -std=c99'
|
||||
'-Wextra -Wno-missing-field-initializers -Wall -std=c11'
|
||||
' -pedantic-errors -Werror {} {} -fwrapv {} {} -pipe {} -fvisibility=hidden'
|
||||
).format(
|
||||
optimize,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue