Fix compile error with gcc versions >9.2.1 (#2223)

This commit is contained in:
Mark Thompson 2024-08-15 01:38:14 -05:00 committed by GitHub
parent 750d592288
commit c992780974
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,7 +31,7 @@ include(CheckCXXCompilerFlag)
project(pacman_app) project(pacman_app)
# Compiler options here. # Compiler options here.
set(USE_OPT "-Os -g --specs=nano.specs") set(USE_OPT "-Os -g --specs=nano.specs --specs=nosys.specs")
# C specific options here (added to USE_OPT). # C specific options here (added to USE_OPT).
set(USE_COPT "-std=gnu99") set(USE_COPT "-std=gnu99")