summaryrefslogtreecommitdiffhomepage
path: root/vars
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-09-14 10:38:01 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-09-14 10:38:01 +0000
commit7719d4bc3fde17016f8b6325af1a0b180bb0880b (patch)
tree6fe148e2571632dabf67c1275eff86a4b8856146 /vars
parenta2f29389077809629393c6cc72bcaedd4f5d5540 (diff)
downloadmidipix_build-7719d4bc3fde17016f8b6325af1a0b180bb0880b.tar.bz2
midipix_build-7719d4bc3fde17016f8b6325af1a0b180bb0880b.tar.xz
vars/build.vars: enforce -O1 in ${CFLAGS} when building release ruby_host.
Diffstat (limited to 'vars')
-rw-r--r--vars/build.vars3
1 files changed, 2 insertions, 1 deletions
diff --git a/vars/build.vars b/vars/build.vars
index d5d397dc..247afd9c 100644
--- a/vars/build.vars
+++ b/vars/build.vars
@@ -441,7 +441,8 @@ LIB_PACKAGES_PREFIX="${PREFIX_NATIVE}";
: ${PKG_RUBY_HOST_URL:=https://cache.ruby-lang.org/pub/ruby/${PKG_RUBY_HOST_VERSION%.*}/ruby-${PKG_RUBY_HOST_VERSION}.tar.gz};
: ${PKG_RUBY_HOST_BUILD_STEPS:="setup_env:always all:abstract disabled:always fetch:main extract:main patch_pre:main distclean:main build_dir:always autoconf:main configure:main clean:optional build:main install_pre:main install:main strip:main finish:always"};
: ${PKG_RUBY_HOST_BUILD_TYPE:=host};
-: ${PKG_RUBY_HOST_CFLAGS_CONFIGURE:="${LIB_PACKAGES_CFLAGS_CONFIGURE_DEFAULT:+${LIB_PACKAGES_CFLAGS_CONFIGURE_DEFAULT} }"};
+: ${PKG_RUBY_HOST_CFLAGS_CONFIGURE_DEBUG:="${LIB_PACKAGES_CFLAGS_CONFIGURE_DEFAULT:+${LIB_PACKAGES_CFLAGS_CONFIGURE_DEFAULT} }"};
+: ${PKG_RUBY_HOST_CFLAGS_CONFIGURE_RELEASE:="${LIB_PACKAGES_CFLAGS_CONFIGURE_DEFAULT:+${LIB_PACKAGES_CFLAGS_CONFIGURE_DEFAULT} }"-O1};
: ${PKG_RUBY_HOST_LDFLAGS_CONFIGURE:="-L${PREFIX}/lib -L${PREFIX}/lib64"};
: ${PKG_RUBY_HOST_CONFIGURE_ARGS:="-C --disable-nls --disable-install-rdoc --prefix=${PREFIX} --with-out-ext=fiddle"};
: ${PKG_RUBY_HOST_MAKEFLAGS_INSTALL:=DESTDIR=};