Browse Source

scripts: psvita: no need to force GNU_SOURCE everywhere

pull/2/head
fgsfds 2 years ago committed by Alibek Omarov
parent
commit
9ef43a4794
  1. 5
      scripts/waifulib/xcompile.py

5
scripts/waifulib/xcompile.py

@ -485,11 +485,6 @@ class PSVita: @@ -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

Loading…
Cancel
Save