scripts: psvita: no need to force GNU_SOURCE everywhere
This commit is contained in:
parent
fc02a69686
commit
9ef43a4794
1 changed files with 0 additions and 5 deletions
|
@ -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…
Add table
Reference in a new issue