File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1042,8 +1042,10 @@ if(FreeBSD AND EXISTS "/usr/local/bin/objdump")
10421042 endif ()
10431043endif ()
10441044
1045- if (LINUX OR ANDROID)
1046- target_compile_definitions (libfastfetch PUBLIC _GNU_SOURCE _XOPEN_SOURCE _ATFILE_SOURCE __STDC_WANT_LIB_EXT1__ _FILE_OFFSET_BITS=64)
1045+ if (LINUX)
1046+ target_compile_definitions (libfastfetch PUBLIC _GNU_SOURCE _XOPEN_SOURCE _ATFILE_SOURCE __STDC_WANT_LIB_EXT1__ _FILE_OFFSET_BITS=64) # "$<$<CONFIG:Release>:_FORTIFY_SOURCE=3>"
1047+ elseif (ANDROID)
1048+ target_compile_definitions (libfastfetch PUBLIC _GNU_SOURCE _XOPEN_SOURCE _FILE_OFFSET_BITS=64 "$<$<CONFIG:DEBUG>:__BIONIC_FORTIFY>" "$<$<CONFIG:DEBUG>:__BIONIC_FORTIFY_RUNTIME_CHECKS_ENABLED>" )
10471049elseif (WIN32 )
10481050 target_compile_definitions (libfastfetch PUBLIC _GNU_SOURCE WIN32_LEAN_AND_MEAN=1 _WIN32_WINNT=0x0A00)
10491051elseif (APPLE )
You can’t perform that action at this time.
0 commit comments