pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
mruby: add a patch to avoid adding "-g3 -O0" to CFLAGS.
Module Name: pkgsrc-wip
Committed By: Frederic Cambus <fcambus%NetBSD.org@localhost>
Pushed By: fcambus
Date: Thu Mar 19 21:58:07 2020 +0100
Changeset: d4223a2e3914d029d50a20b7a0a94195a92c9a92
Modified Files:
mruby/distinfo
Added Files:
mruby/patches/patch-build__config.rb
Log Message:
mruby: add a patch to avoid adding "-g3 -O0" to CFLAGS.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d4223a2e3914d029d50a20b7a0a94195a92c9a92
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
mruby/distinfo | 1 +
mruby/patches/patch-build__config.rb | 24 ++++++++++++++++++++++++
2 files changed, 25 insertions(+)
diffs:
diff --git a/mruby/distinfo b/mruby/distinfo
index 1c578e491b..d8c2920df0 100644
--- a/mruby/distinfo
+++ b/mruby/distinfo
@@ -4,3 +4,4 @@ SHA1 (mruby-2.1.0.tar.gz) = 4ef030a2d31b1252ec8615bbb59e1379484ad1a7
RMD160 (mruby-2.1.0.tar.gz) = 2e6d6e962b6c7015e71f56b066a5d99113a7f7d8
SHA512 (mruby-2.1.0.tar.gz) = da28b5a078e121c75edf62fc68fad6d5810212bd53a3424d4f585ffe5bbd09f652393ffea0f4b3ddd802e5fe178554dc67040c39c9d5069bdfad4ef22ead7e8d
Size (mruby-2.1.0.tar.gz) = 584901 bytes
+SHA1 (patch-build__config.rb) = 62c1122ebc2ef7a3dde7ca4cb8cad6b7475c9e78
diff --git a/mruby/patches/patch-build__config.rb b/mruby/patches/patch-build__config.rb
new file mode 100644
index 0000000000..fea9fa1737
--- /dev/null
+++ b/mruby/patches/patch-build__config.rb
@@ -0,0 +1,24 @@
+$NetBSD$
+
+Avoid adding "-g3 -O0" to CFLAGS.
+
+--- build_config.rb.orig 2020-03-16 14:38:56.753795981 +0000
++++ build_config.rb
+@@ -95,7 +95,7 @@ MRuby::Build.new('host-debug') do |conf|
+ toolchain :gcc
+ end
+
+- enable_debug
++ # enable_debug
+
+ # include the default GEMs
+ conf.gembox 'default'
+@@ -118,7 +118,7 @@ MRuby::Build.new('test') do |conf|
+ toolchain :gcc
+ end
+
+- enable_debug
++ # enable_debug
+ conf.enable_bintest
+ conf.enable_test
+
Home |
Main Index |
Thread Index |
Old Index