diff --git a/cmake/script/GenerateBuildInfo.cmake b/cmake/script/GenerateBuildInfo.cmake index 74221c789e600a..67e9a51a3d68fd 100644 --- a/cmake/script/GenerateBuildInfo.cmake +++ b/cmake/script/GenerateBuildInfo.cmake @@ -10,7 +10,7 @@ macro(fatal_error) " cmake -D BUILD_INFO_HEADER_PATH= [-D SOURCE_DIR=] -P ${CMAKE_CURRENT_LIST_FILE}\n" "All specified paths must be absolute ones.\n" ) -endmacro() +endmacro() if(DEFINED BUILD_INFO_HEADER_PATH AND IS_ABSOLUTE "${BUILD_INFO_HEADER_PATH}") if(EXISTS "${BUILD_INFO_HEADER_PATH}") diff --git a/cmake/script/macos_zip.sh b/cmake/script/macos_zip.sh index 5a42d1bbf4077c..cc51699dc938ad 100755 --- a/cmake/script/macos_zip.sh +++ b/cmake/script/macos_zip.sh @@ -3,6 +3,8 @@ # Distributed under the MIT software license, see the accompanying # file COPYING or https://opensource.org/license/mit/. +export LC_ALL=C + if [ -n "$SOURCE_DATE_EPOCH" ]; then find . -exec touch -d "@$SOURCE_DATE_EPOCH" {} + fi diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp index 2abb1b1b058d28..685d8e90d7db7e 100644 --- a/src/qt/guiutil.cpp +++ b/src/qt/guiutil.cpp @@ -2,10 +2,6 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#if defined(HAVE_CONFIG_H) -#include -#endif - #include #include