scripts: psvita: no need to force GNU_SOURCE everywhere

This commit is contained in:
fgsfds 2023-03-09 18:34:05 +01:00 committed by Alibek Omarov
parent fc02a69686
commit 9ef43a4794
1 changed files with 0 additions and 5 deletions

View File

@ -485,11 +485,6 @@ class PSVita:
cflags += ['-isystem %s/arm-vita-eabi/include' % self.vitasdk_dir]
# SDL include 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
# they go before object list