Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
composable_kernel
Commits
80a1a7f6
Commit
80a1a7f6
authored
Dec 01, 2023
by
illsilin
Browse files
remove the -flto flag
parent
8ae44fab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
CMakeLists.txt
CMakeLists.txt
+2
-3
No files found.
CMakeLists.txt
View file @
80a1a7f6
...
...
@@ -373,10 +373,9 @@ include_directories(BEFORE
SET
(
BUILD_DEV ON CACHE BOOL
"BUILD_DEV"
)
if
(
BUILD_DEV
)
add_compile_options
(
-Werror -Weverything
)
add_compile_options
(
-Werror
)
add_compile_options
(
-Weverything
)
endif
()
#add flags to reduce the size of binaries
add_compile_options
(
-Oz -flto=thin
)
message
(
"CMAKE_CXX_FLAGS:
${
CMAKE_CXX_FLAGS
}
"
)
add_custom_target
(
check COMMAND
${
CMAKE_CTEST_COMMAND
}
--output-on-failure -C
${
CMAKE_CFG_INTDIR
}
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment