diff options
author | Alexey Neyman <stilor@att.net> | 2016-09-23 00:01:43 (GMT) |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2016-09-23 00:01:43 (GMT) |
commit | 651567ff9093092a7d4aeabec44a55f563c6a231 (patch) | |
tree | 0a498573fe9d6626986ca6a1ecbedd471a5cf752 /scripts/build/cc/100-gcc.sh | |
parent | 531eab4c5650c7d51fa1c527c370b690ac50a8ab (diff) |
Add a checkbox for libmpx build.
Disable libmpx for musl builds.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/build/cc/100-gcc.sh')
-rw-r--r-- | scripts/build/cc/100-gcc.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/build/cc/100-gcc.sh b/scripts/build/cc/100-gcc.sh index db14728..8630644 100644 --- a/scripts/build/cc/100-gcc.sh +++ b/scripts/build/cc/100-gcc.sh @@ -436,6 +436,7 @@ do_gcc_core_backend() { extra_config+=(--disable-libgomp) extra_config+=(--disable-libmudflap) + extra_config+=(--disable-libmpx) if [ "${CT_CC_GCC_LIBSSP}" = "y" ]; then extra_config+=(--enable-libssp) @@ -904,6 +905,14 @@ do_gcc_backend() { fi fi + if [ "${CT_CC_GCC_HAS_LIBMPX}" = "y" ]; then + if [ "${CT_CC_GCC_LIBMPX}" = "y" ]; then + extra_config+=(--enable-libmpx) + else + extra_config+=(--disable-libmpx) + fi + fi + final_LDFLAGS+=("${ldflags}") # *** WARNING ! *** |