1 Star 0 Fork 18

xingwei-liu/qt5-qtbase

forked from src-anolis-os/qt5-qtbase 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
gnukfreebsd_linker_corelib_warnings.patch 1.23 KB
一键复制 编辑 原始数据 按行查看 历史
xingwei-liu 提交于 2022-10-12 16:54 . feature: add patchs for DDE
diff -Naur a/src/corelib/configure.json b/src/corelib/configure.json
--- a/src/corelib/configure.json 2021-08-11 11:36:05.723388182 +0800
+++ b/src/corelib/configure.json 2021-08-11 15:39:10.355265884 +0800
@@ -285,6 +285,7 @@
"label": "O_CLOEXEC",
"type": "compile",
"test": {
+ "qmake": "QMAKE_LFLAGS += -Wl,--fatal-warnings",
"head": "#define _GNU_SOURCE 1",
"include": [ "sys/types.h", "sys/socket.h", "fcntl.h", "unistd.h" ],
"main": [
@@ -340,6 +341,7 @@
"include": "sys/stat.h",
"main": "futimens(-1, 0);",
"qmake": [
+ "QMAKE_LFLAGS += -Wl,--fatal-warnings",
"# Block futimens() on Apple platforms unless it's available on ALL",
"# deployment targets. This simplifies the logic at the call site",
"# dramatically, as it isn't strictly needed compared to futimes().",
@@ -367,6 +369,7 @@
"label": "getentropy()",
"type": "compile",
"test": {
+ "qmake": "QMAKE_LFLAGS += -Wl,--fatal-warnings",
"include": "unistd.h",
"main": [
"char buf[32];",
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xingwei-liu/qt5-qtbase.git
git@gitee.com:xingwei-liu/qt5-qtbase.git
xingwei-liu
qt5-qtbase
qt5-qtbase
a8

搜索帮助

0d507c66 1850385 C8b1a773 1850385