summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-05-20 18:14:51 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-05-20 18:14:51 (EDT)
commit18acc41244b31aecb1d6b95dffa903f76caf9147 (patch)
tree660c0b1de825b6dabf06b838f9b42756549c7bd0
parent28f88257b91921e61b411e0feb23395578858210 (diff)
build: Rearrange options to shorten by 1 line
-rwxr-xr-xbuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/build b/build
index 5486dc0..c3cb5ff 100755
--- a/build
+++ b/build
@@ -45,16 +45,16 @@ common_opts = \
--with-nls \
--with-sysroot="$${OPK_SYSROOT}" \
--disable-libquadmath \
- $(target_opts)
+ $(target_opts) \
+ $(extra_opts)
full_opts = \
- $(common_opts) \
--enable-shared \
--enable-threads=posix \
--enable-languages=c,c++
+ $(common_opts)
bootstrap1_opts = \
- $(common_opts) \
--without-headers \
--with-newlib \
--disable-shared \
@@ -62,6 +62,7 @@ bootstrap1_opts = \
--enable-languages=c,c++ \
--disable-libgomp \
--disable-libssp
+ $(common_opts)
# Abbreviation for build-gcc-config
tm = src/gcc/config
@@ -109,12 +110,10 @@ configure-native configure-cross:
set -e; \
if [ 'x$(OPK_HOST_PLAT)' = 'xbootstrap1' ]; then \
oh-autoconfigure -B "$(builddir)" -t "$(target)" -- \
- $(bootstrap1_opts) \
- $(extra_opts); \
+ $(bootstrap1_opts); \
else \
oh-autoconfigure -B "$(builddir)" -t "$(target)" -- \
- $(full_opts) \
- $(extra_opts); \
+ $(full_opts); \
fi
# This rule sets (host- and) target-dependent paths in files in gcc/config.