Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
3e2799ad
L
libvirt
项目概览
openeuler
/
libvirt
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
libvirt
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
3e2799ad
编写于
8月 13, 2013
作者:
G
Guido Günther
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Check for --no-copy-dt-needed linker flag
and use it when available
上级
d9527b6d
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
37 addition
and
0 deletion
+37
-0
configure.ac
configure.ac
+1
-0
daemon/Makefile.am
daemon/Makefile.am
+1
-0
m4/virt-linker-no-indirect.m4
m4/virt-linker-no-indirect.m4
+32
-0
src/Makefile.am
src/Makefile.am
+1
-0
tests/Makefile.am
tests/Makefile.am
+1
-0
tools/Makefile.am
tools/Makefile.am
+1
-0
未找到文件。
configure.ac
浏览文件 @
3e2799ad
...
@@ -160,6 +160,7 @@ AC_MSG_RESULT([$VERSION_SCRIPT_FLAGS])
...
@@ -160,6 +160,7 @@ AC_MSG_RESULT([$VERSION_SCRIPT_FLAGS])
LIBVIRT_COMPILE_WARNINGS
LIBVIRT_COMPILE_WARNINGS
LIBVIRT_COMPILE_PIE
LIBVIRT_COMPILE_PIE
LIBVIRT_LINKER_RELRO
LIBVIRT_LINKER_RELRO
LIBVIRT_LINKER_NO_INDIRECT
LIBVIRT_CHECK_APPARMOR
LIBVIRT_CHECK_APPARMOR
LIBVIRT_CHECK_ATTR
LIBVIRT_CHECK_ATTR
...
...
daemon/Makefile.am
浏览文件 @
3e2799ad
...
@@ -129,6 +129,7 @@ libvirtd_LDFLAGS = \
...
@@ -129,6 +129,7 @@ libvirtd_LDFLAGS = \
$(PIE_LDFLAGS)
\
$(PIE_LDFLAGS)
\
$(RELRO_LDFLAGS)
\
$(RELRO_LDFLAGS)
\
$(COVERAGE_LDFLAGS)
\
$(COVERAGE_LDFLAGS)
\
$(NO_INDIRECT_LDFLAGS)
\
$(NULL)
$(NULL)
libvirtd_LDADD
=
\
libvirtd_LDADD
=
\
...
...
m4/virt-linker-no-indirect.m4
0 → 100644
浏览文件 @
3e2799ad
dnl
dnl Check for --no-copy-dt-needed-entries
dnl
dnl Copyright (C) 2013 Guido Günther <agx@sigxcpu.org>
dnl
dnl This library is free software; you can redistribute it and/or
dnl modify it under the terms of the GNU Lesser General Public
dnl License as published by the Free Software Foundation; either
dnl version 2.1 of the License, or (at your option) any later version.
dnl
dnl This library is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
dnl Lesser General Public License for more details.
dnl
dnl You should have received a copy of the GNU Lesser General Public
dnl License along with this library. If not, see
dnl <http://www.gnu.org/licenses/>.
dnl
AC_DEFUN([LIBVIRT_LINKER_NO_INDIRECT],[
AC_MSG_CHECKING([for how to avoid indirect lib deps])
NO_INDIRECT_LDFLAGS=
case `$LD --help 2>&1` in
*"--no-copy-dt-needed-entries"*)
NO_INDIRECT_LDFLAGS="-Wl,--no-copy-dt-needed-entries" ;;
esac
AC_SUBST([NO_INDIRECT_LDFLAGS])
AC_MSG_RESULT([$NO_INDIRECT_LDFLAGS])
])
src/Makefile.am
浏览文件 @
3e2799ad
...
@@ -35,6 +35,7 @@ AM_CFLAGS = $(LIBXML_CFLAGS) \
...
@@ -35,6 +35,7 @@ AM_CFLAGS = $(LIBXML_CFLAGS) \
AM_LDFLAGS
=
$(DRIVER_MODULE_LDFLAGS)
\
AM_LDFLAGS
=
$(DRIVER_MODULE_LDFLAGS)
\
$(COVERAGE_LDFLAGS)
\
$(COVERAGE_LDFLAGS)
\
$(RELRO_LDFLAGS)
\
$(RELRO_LDFLAGS)
\
$(NO_INDIRECT_LDFLAGS)
\
$(NULL)
$(NULL)
EXTRA_DIST
=
$(conf_DATA)
util/keymaps.csv
EXTRA_DIST
=
$(conf_DATA)
util/keymaps.csv
...
...
tests/Makefile.am
浏览文件 @
3e2799ad
...
@@ -50,6 +50,7 @@ endif
...
@@ -50,6 +50,7 @@ endif
LDADDS
=
\
LDADDS
=
\
$(WARN_CFLAGS)
\
$(WARN_CFLAGS)
\
$(NO_INDIRECT_LDFLAGS)
\
$(PROBES_O)
\
$(PROBES_O)
\
../src/libvirt.la
\
../src/libvirt.la
\
../gnulib/lib/libgnu.la
../gnulib/lib/libgnu.la
...
...
tools/Makefile.am
浏览文件 @
3e2799ad
...
@@ -24,6 +24,7 @@ INCLUDES = \
...
@@ -24,6 +24,7 @@ INCLUDES = \
AM_LDFLAGS
=
\
AM_LDFLAGS
=
\
$(RELRO_LDFLAGS)
\
$(RELRO_LDFLAGS)
\
$(NO_INDIRECT_LDFLAGS)
\
$(NULL)
$(NULL)
POD2MAN
=
pod2man
-c
"Virtualization Support"
-r
"
$(PACKAGE)
-
$(VERSION)
"
POD2MAN
=
pod2man
-c
"Virtualization Support"
-r
"
$(PACKAGE)
-
$(VERSION)
"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录