diff options
author | Alexey Neyman <stilor@att.net> | 2016-04-03 17:26:24 (GMT) |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2016-08-23 18:00:27 (GMT) |
commit | 0fdc1887a7426bf7974f0ca6bb24815dff4a2997 (patch) | |
tree | d188e5a20d2deba7d516c648d8f9a3adb1a5ddc4 /scripts/build/arch.sh | |
parent | 3ebc5d0c1e72e95f05a02818a3e2c642663d4b74 (diff) |
Change multilib functions to set the variable.
Rather than echo-ing the new value, set the value into the variable with
the name passed as an argument (similar to CT_SanitizeVarDir). This
allows to use CT_DoLog in these functions.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/build/arch.sh')
-rw-r--r-- | scripts/build/arch.sh | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/scripts/build/arch.sh b/scripts/build/arch.sh index 48da2d6..2199a17 100644 --- a/scripts/build/arch.sh +++ b/scripts/build/arch.sh @@ -6,18 +6,15 @@ CT_DoArchTupleValues() { } # Multilib: change the target triplet according to CFLAGS +# Usage: CT_DoArchGlibcAdjustTuple <variable-name> <CFLAGS> CT_DoArchMultilibTarget() { - local multi_flags="${1}" - local target="${2}" - - echo "${target}" + :; } # Multilib: Adjust target tuple for GLIBC +# Usage: CT_DoArchGlibcAdjustTuple <variable-name> CT_DoArchGlibcAdjustTuple() { - local target="${1}" - - echo "${target}" + :; } # Override from the actual arch implementation as needed. |