libretro / vice-libretro

Versatile Commodore 8-bit Emulator
GNU General Public License v2.0
40 stars 70 forks source link

Makefile: fix common flags #368

Closed MarkusVolk closed 3 years ago

MarkusVolk commented 3 years ago

Wno-format was added to common flags recently. In this case it is also necessary to add -Wno-format-security or gcc ≥ 8 will stop otherwise:

| cc1: error: '-Wformat-security' ignored without '-Wformat' [-Werror=format-security] | cc1plus: error: '-Wformat-security' ignored without '-Wformat' [-Werror=format-security]

sonninnos commented 3 years ago

Thanks. I tested only with Windows + gcc 10 and Linux + gcc 9.3.0.

It was added strictly for the Linux setup, as in Windows didn't need the silencing at all.