mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
scripts: psvita: no need to force GNU_SOURCE everywhere
This commit is contained in:
parent
fc02a69686
commit
9ef43a4794
@ -485,11 +485,6 @@ class PSVita:
|
|||||||
cflags += ['-isystem %s/arm-vita-eabi/include' % self.vitasdk_dir]
|
cflags += ['-isystem %s/arm-vita-eabi/include' % self.vitasdk_dir]
|
||||||
# SDL include dir
|
# SDL include dir
|
||||||
cflags += ['-I%s/arm-vita-eabi/include/SDL2' % self.vitasdk_dir]
|
cflags += ['-I%s/arm-vita-eabi/include/SDL2' % self.vitasdk_dir]
|
||||||
# the game wants GNU extensions
|
|
||||||
if cxx:
|
|
||||||
cflags += ['-std=gnu++17', '-D_GNU_SOURCE']
|
|
||||||
else:
|
|
||||||
cflags += ['-std=gnu11', '-D_GNU_SOURCE']
|
|
||||||
return cflags
|
return cflags
|
||||||
|
|
||||||
# they go before object list
|
# they go before object list
|
||||||
|
Loading…
x
Reference in New Issue
Block a user