Skip to content

Commit

Permalink
add optimisations for loader
Browse files Browse the repository at this point in the history
  • Loading branch information
yeggor committed Dec 7, 2024
1 parent 95786d6 commit 96fa03d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions efiXloader/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
"${CMAKE_CXX_FLAGS} -Wno-nullability-completeness -Wno-varargs")
endif()

if(NOT MSVC)
add_compile_options(-O3 -flto)
endif()

list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/../cmake)

find_package(IdaSdk REQUIRED)
Expand Down

0 comments on commit 96fa03d

Please sign in to comment.