diff options
author | Patrick 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) |
commit | 18acc41244b31aecb1d6b95dffa903f76caf9147 (patch) | |
tree | 660c0b1de825b6dabf06b838f9b42756549c7bd0 | |
parent | 28f88257b91921e61b411e0feb23395578858210 (diff) |
build: Rearrange options to shorten by 1 line
-rwxr-xr-x | build | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -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. |