diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ed2158..105ab2b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [6.2.1] + +### Fixed + - CMake: Linux: overwrite FORTIFY_SOURCE from distribution + ## [6.2.0] ### Changed diff --git a/VERSION b/VERSION index 6abaeb2..024b066 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -6.2.0 +6.2.1 diff --git a/linux.cmake b/linux.cmake index 377eb45..967dbc6 100644 --- a/linux.cmake +++ b/linux.cmake @@ -1,5 +1,5 @@ # SPDX-License-Identifier: Apache-2.0 -# Copyright (C) 2014-2024 Intel Corporation +# Copyright (C) 2014-2026 Intel Corporation set(TEE_SOURCES src/linux/metee_linux.c src/linux/mei.c) add_library(${PROJECT_NAME} ${TEE_SOURCES}) @@ -55,7 +55,7 @@ target_compile_options( # Security options target_compile_options( ${PROJECT_NAME} - PRIVATE -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -Wformat + PRIVATE -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -Wformat -Wformat-security PRIVATE $<$:-fno-strict-overflow> PRIVATE $<$:-fno-delete-null-pointer-checks> @@ -71,4 +71,4 @@ endif() target_compile_definitions(${PROJECT_NAME} PRIVATE -D_GNU_SOURCE) if(ANDROID) target_link_libraries(${PROJECT_NAME} PRIVATE log) -endif() \ No newline at end of file +endif()