提交 f30b17d0 编写于 作者: Z Zhengyuan Liu 提交者: Yang Yingliang

net: hns3: remove the unnecessary ccflags

driver inclusion
category: other
bugzilla: NA
CVE: NA

----------------------------------

The ccflags removed in this patch shouldn't be in open kernel tree.
Especially for -fstack-protector-strong, there will be a compile error
when CONFIG_STACKPROTECTOR_STRONG isn't enabled.
Signed-off-by: NZhengyuan Liu <liuzhengyuan@tj.kylinos.cn>
Reviewed-by: NHanjun Guo <guohanjun@huawei.com>
Reviewed-by: NZhong Zhaohui <zhongzhaohui@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 06d08e1e
......@@ -3,15 +3,6 @@
# Makefile for the HISILICON network device drivers.
#
# Add security options
ccflags-y += -fstack-protector-strong
ccflags-y += -Wl,-z,relro,-z,now
ccflags-y += -Wl,-z,noexecstack
ccflags-y += -D_FORTIFY_SOURCE=2 -O2
ccflags-y += -fvisibility=hidden
ccflags-y += -Wformat=2 -Wfloat-equal
ccflags-y += -fsigned-char
ccflags-y += -DCONFIG_IT_VALIDATION
ccflags-y += -DCONFIG_HNS3_TEST
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册