summaryrefslogtreecommitdiffhomepage
path: root/vars
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-03-11 14:00:43 -0400
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2019-03-12 08:02:25 +0000
commit0c008c649bca8529eca91888ce039b5fe48c4400 (patch)
tree10fb5f3947c9ad0099c94b640e2f564618c38db7 /vars
parent3b1390d95d15c6cb3a4152f95cf76e8d01c1e667 (diff)
downloadmidipix_build-0c008c649bca8529eca91888ce039b5fe48c4400.tar.bz2
midipix_build-0c008c649bca8529eca91888ce039b5fe48c4400.tar.xz
vars/gcc.vars: build runtime libraries with ${DEFAULT_CFLAGS_DEBUG_RUNTIME.
Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
Diffstat (limited to 'vars')
-rw-r--r--vars/gcc.vars2
1 files changed, 2 insertions, 0 deletions
diff --git a/vars/gcc.vars b/vars/gcc.vars
index 345ad223..d07881ed 100644
--- a/vars/gcc.vars
+++ b/vars/gcc.vars
@@ -19,6 +19,7 @@ pkgp_gcc_setup_env() {
GCCTARGET_FLAGS="${GCCTARGET_FLAGS} --include=${unwind_midipix_h}";
GCCTARGET_FLAGS="${GCCTARGET_FLAGS} -DTARGET_PERSONALITY_FUNCTION";
GCCTARGET_FLAGS="${GCCTARGET_FLAGS} -DTARGET_PERSONALITY_FUNCTION_MIDIPIX";
+ GCCTARGET_FLAGS="${GCCTARGET_FLAGS} ${DEFAULT_CFLAGS_DEBUG_RUNTIME}";
export cbb_neutral_libiberty=no \
cbb_ldflags_for_target=--sysroot="${PREFIX_CROSS}" \
cbb_sysroot_for_libgcc="${PREFIX_CROSS}" \
@@ -40,6 +41,7 @@ pkgp_gcc_setup_env() {
GCCTARGET_FLAGS="${GCCTARGET_FLAGS} --include=${unwind_midipix_h}";
GCCTARGET_FLAGS="${GCCTARGET_FLAGS} -DTARGET_PERSONALITY_FUNCTION";
GCCTARGET_FLAGS="${GCCTARGET_FLAGS} -DTARGET_PERSONALITY_FUNCTION_MIDIPIX";
+ GCCTARGET_FLAGS="${GCCTARGET_FLAGS} ${DEFAULT_CFLAGS_DEBUG_RUNTIME}";
export cbb_xgcc_for_specs="${PKG_TARGET}-gcc" \
cbb_ldflags_for_target=--sysroot="${PKG_PREFIX}" \
cbb_sysroot_for_libgcc="${PKG_PREFIX}" \