From 39b77910052962b4c844e18a95c7e8a55cd61928 Mon Sep 17 00:00:00 2001 From: suku Date: Sat, 24 Aug 2024 10:03:20 +0200 Subject: [PATCH] SUKU test fixed --- .github/workflows/host_based_tests.yml | 1 - grid_common/host_test/CMakeLists.txt | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/host_based_tests.yml b/.github/workflows/host_based_tests.yml index 7b1aac2e..c22c98bf 100644 --- a/.github/workflows/host_based_tests.yml +++ b/.github/workflows/host_based_tests.yml @@ -33,4 +33,3 @@ jobs: path: | fuzzer_test input.bin - diff --git a/grid_common/host_test/CMakeLists.txt b/grid_common/host_test/CMakeLists.txt index e29a452a..df3c93a4 100755 --- a/grid_common/host_test/CMakeLists.txt +++ b/grid_common/host_test/CMakeLists.txt @@ -9,7 +9,8 @@ set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--unresolved-symbols=i set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g") # If you're using C++ - +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC") # If using C++ # add the executable add_executable(${PROJECT_NAME} main.c unity.c ../grid_ui_encoder.c ../grid_ui.c)