1 Star 0 Fork 59

zhangwenlong01/euler_binutils

forked from ticat_fp/euler_binutils 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
X86-Change-fpic-to-fPIC-in-PICFLAG.patch 1.15 KB
一键复制 编辑 原始数据 按行查看 历史
eastb233 提交于 2024-02-27 10:32 . [Update] Update binutils 2.41
From 8fb95e58ea6b2c2fddd0b308acdc160dda217b7b Mon Sep 17 00:00:00 2001
From: eastb233 <xiezhiheng@huawei.com>
Date: Tue, 8 Aug 2023 20:05:24 +0800
Subject: [PATCH] [X86] Change -fpic to -fPIC in PICFLAG
---
intl/configure | 2 +-
libiberty/configure | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/intl/configure b/intl/configure
index e75f072f..f8438526 100755
--- a/intl/configure
+++ b/intl/configure
@@ -6867,7 +6867,7 @@ case "${host}" in
# Some targets support both -fPIC and -fpic, but prefer the latter.
# FIXME: Why?
i[34567]86-*-* | x86_64-*-*)
- PICFLAG=-fpic
+ PICFLAG=-fPIC
;;
# FIXME: Override -fPIC default in libgcc only?
sh-*-linux* | sh[2346lbe]*-*-linux*)
diff --git a/libiberty/configure b/libiberty/configure
index 1ccfac9f..0b85f351 100755
--- a/libiberty/configure
+++ b/libiberty/configure
@@ -5362,7 +5362,7 @@ case "${host}" in
# Some targets support both -fPIC and -fpic, but prefer the latter.
# FIXME: Why?
i[34567]86-*-* | x86_64-*-*)
- PICFLAG=-fpic
+ PICFLAG=-fPIC
;;
# FIXME: Override -fPIC default in libgcc only?
sh-*-linux* | sh[2346lbe]*-*-linux*)
--
2.19.1
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhangwenlong01/euler_binutils.git
git@gitee.com:zhangwenlong01/euler_binutils.git
zhangwenlong01
euler_binutils
euler_binutils
master

搜索帮助