summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-06-28 13:01:16 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-06-28 13:01:16 (EDT)
commitf55816336905c41ffb363710b33fee840581e951 (patch)
treef8174745170eeee51304e02edc79a4558d9a5a33 /build
parentbf39e1548cf4dc4642803da931e69b56365fe1b1 (diff)
Set target options when configuring GCC.
Diffstat (limited to 'build')
-rwxr-xr-xbuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/build b/build
index b3ddb82..e514a46 100755
--- a/build
+++ b/build
@@ -62,12 +62,16 @@ nop:
>../local.mk
$(configure_targets):
+ set -e; \
+ . "../targets.d/$(target).sh"; \
if [ 'x$(OPK_HOST_PLAT)' = 'xbootstrap1' ]; then \
oh-autoconfigure -B "$(builddir)" -t "$(target)" -- \
- $(bootstrap1_opts); \
+ $(bootstrap1_opts) \
+ $${target_opts}; \
else \
oh-autoconfigure -B "$(builddir)" -t "$(target)" -- \
- $(full_opts); \
+ $(full_opts) \
+ $${target_opts}; \
fi
touch $@