3 Star 0 Fork 5

src-openEuler/rubygem-RedCloth
关闭

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
rubygem-redcloth-4.2.9-unsigned-char-fix.patch 486 Bytes
一键复制 编辑 原始数据 按行查看 历史
lyn 提交于 2020-08-21 14:47 +08:00 . package init
diff --git a/ext/redcloth_scan/extconf.rb b/ext/redcloth_scan/extconf.rb
index 506d4a3..edd46c4 100644
--- a/ext/redcloth_scan/extconf.rb
+++ b/ext/redcloth_scan/extconf.rb
@@ -1,6 +1,6 @@
require 'mkmf'
CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
-$CFLAGS << ' -O0 -Wall ' if CONFIG['CC'] =~ /gcc/
+$CFLAGS << ' -O0 -Wall -fsigned-char' if CONFIG['CC'] =~ /gcc/
dir_config("redcloth_scan")
have_library("c", "main")
create_makefile("redcloth_scan")
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/rubygem-RedCloth.git
git@gitee.com:src-openeuler/rubygem-RedCloth.git
src-openeuler
rubygem-RedCloth
rubygem-RedCloth
master

搜索帮助