From c9927809745b51bae1ccd4c6f2b70b4c5938ac30 Mon Sep 17 00:00:00 2001 From: Mark Thompson <129641948+NotherNgineer@users.noreply.github.com> Date: Thu, 15 Aug 2024 01:38:14 -0500 Subject: [PATCH] Fix compile error with gcc versions >9.2.1 (#2223) --- firmware/standalone/pacman/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/standalone/pacman/CMakeLists.txt b/firmware/standalone/pacman/CMakeLists.txt index 30023db6a..c7a4c97fe 100644 --- a/firmware/standalone/pacman/CMakeLists.txt +++ b/firmware/standalone/pacman/CMakeLists.txt @@ -31,7 +31,7 @@ include(CheckCXXCompilerFlag) project(pacman_app) # 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). set(USE_COPT "-std=gnu99") @@ -120,7 +120,7 @@ set(TCPPSRC) # List ASM source files here set(ASMSRC) -set(INCDIR +set(INCDIR ${CMAKE_CURRENT_SOURCE_DIR} ${COMMON} ${COMMON}/../application