Skip to content

Commit ea29d96

Browse files
fix building low quality raylib code on linux gcc
1 parent 3260a18 commit ea29d96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

raylib/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def build_unix():
167167
print("BUILDING FOR LINUX")
168168
extra_link_args = get_lib_flags() + [ '-lm', '-lpthread', '-lGL',
169169
'-lrt', '-lm', '-ldl', '-lX11', '-lpthread', '-latomic']
170-
extra_compile_args = []
170+
extra_compile_args = ["-Wno-incompatible-pointer-types"]
171171
libraries = ['GL', 'm', 'pthread', 'dl', 'rt', 'X11', 'atomic']
172172

173173
ffibuilder.set_source("raylib._raylib_cffi",

0 commit comments

Comments
 (0)