mirror of https://github.com/bjornbytes/lovr.git
Add _DEFAULT_SOURCE to linux;
This commit is contained in:
parent
c1b5f421c2
commit
e4b86bf550
|
@ -104,6 +104,7 @@ end
|
|||
if target == 'linux' then
|
||||
cflags += '-DLOVR_GL'
|
||||
cflags += '-D_POSIX_C_SOURCE=200809L'
|
||||
cflags += '-D_DEFAULT_SOURCE'
|
||||
lflags += '-lm -lpthread -ldl'
|
||||
lflags += '-Wl,-rpath,\\$ORIGIN'
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue