fgsfdsfgs / sm64-port

PS2, PS3, OG Xbox and DOS ports of sm64-port.
https://discord.gg/7bcNTPK
242 stars 38 forks source link

PS2: Fix compilation with new SDK #52

Closed blckbearx closed 2 years ago

blckbearx commented 2 years ago
  1. Make the variable USE_NEW_PS2SDK available to all make's child processes so that building ps2-audsrv with the new SDK does not fail under Ubuntu 20.04.

  2. Remove the duplicate definition of a variable to avoid the following error:

/usr/local/ps2dev/ee/lib/gcc/mips64r5900el-ps2-elf/11.1.0/../../../../mips64r5900el-ps2-elf/bin/ld: build/us_ps2/src/pc/gfx/gfx_ps2_wapi.o:(.bss+0x0): multiple definition of `render_finished'; build/us_ps2/src/pc/gfx/gfx_ps2_rapi.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status