mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02: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:
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,
|
||||
|
||||
Reference in New Issue
Block a user