Skip to content

configure: support --target-triples and --only-gcc. #1124

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 2, 2011
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 2 additions & 11 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -249,19 +249,10 @@ opt valgrind 1 "run tests with valgrind"
opt docs 1 "build documentation"
opt optimize 1 "build optimized rust code"
opt mingw-cross 0 "cross-compile for win32 using mingw"
opt only-gcc 0 "prefer gcc to clang for building the runtime"
valopt prefix "/usr/local" "set installation prefix"
valopt llvm-root "" "set llvm root"

if [ $HELP -eq 1 ]
then
echo ""
echo "Useful environment variables:"
echo ""
printf " %-32s %s\n" "CFG_ONLY_GCC" "Prefer gcc to clang for building the runtime"
printf " %-32s %s\n" "CFG_TARGET_TRIPLES" "LLVM target triples"
echo ""
exit 0
fi
valopt target-triples "" "LLVM target triples (defaults to host if unset)"

step_msg "writing out basic parameters"
putvar CFG_SRC_DIR
Expand Down