aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--helper/generic7
1 files changed, 7 insertions, 0 deletions
diff --git a/helper/generic b/helper/generic
index bd7a465..9aedbcb 100644
--- a/helper/generic
+++ b/helper/generic
@@ -16,6 +16,7 @@ export CHECK_TARBALL="${CHECK_TARBALL:-0}"
export DEBUG_SCRIPT="${DEBUG_SCRIPT:-0}"
export ENABLE_DEBUG="${ENABLE_DEBUG:-0}"
export SCHEDULER="${SCHEDULER:-"default"}"
+export DISABLE_ABI_COMPAT="${DISABLE_ABI_COMPAT:-1}"
# Print debug messages, set DEBUG_SCRIPT to 0 if not required
isdebug() {
@@ -61,6 +62,11 @@ if [[ ${SCHEDULER} != "default" ]]; then
export CONFIGURE_FLAGS="${CONFIGURE_FLAGS} --enable-schedule-${SCHEDULER}"
fi
+isdebug echo "helper/generic: before DISABLE_ABI_COMPAT: ${DISABLE_ABI_COMPAT}"
+if [[ ${DISABLE_ABI_COMPAT} -eq 0 ]]; then
+ export CONFIGURE_FLAGS="${CONFIGURE_FLAGS} --disable-abi-compat=no"
+fi
+
mkdir -p ${SRCDIR}
mkdir -p ${BUILDDIR}
mkdir -p ${LOGDIR}
@@ -93,6 +99,7 @@ common_usage() {
echo -e "\tDEBUG_SCRIPT:\t set to 1 to enable debug output from the script, default: 0"
echo -e "\tENABLE_DEBUG:\t enable debug prints, default: 0"
echo -e "\tSCHEDULER:\t which scheduler impl to use: [default|sp]"
+ echo -e "\tDISABLE_ABI_COMPAT:\t which disables ABI compatibility mode, default: 0"
}
display_os(){