Skip to content

Commit 098cf43

Browse files
author
Elly Jones
committed
configure: support --target-triples and --only-gcc.
Signed-off-by: Elly Jones <[email protected]>
1 parent 0003a50 commit 098cf43

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

configure

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -249,19 +249,10 @@ opt valgrind 1 "run tests with valgrind"
249249
opt docs 1 "build documentation"
250250
opt optimize 1 "build optimized rust code"
251251
opt mingw-cross 0 "cross-compile for win32 using mingw"
252+
opt only-gcc 0 "prefer gcc to clang for building the runtime"
252253
valopt prefix "/usr/local" "set installation prefix"
253254
valopt llvm-root "" "set llvm root"
254-
255-
if [ $HELP -eq 1 ]
256-
then
257-
echo ""
258-
echo "Useful environment variables:"
259-
echo ""
260-
printf " %-32s %s\n" "CFG_ONLY_GCC" "Prefer gcc to clang for building the runtime"
261-
printf " %-32s %s\n" "CFG_TARGET_TRIPLES" "LLVM target triples"
262-
echo ""
263-
exit 0
264-
fi
255+
valopt target-triples "" "LLVM target triples (defaults to host if unset)"
265256

266257
step_msg "writing out basic parameters"
267258
putvar CFG_SRC_DIR

0 commit comments

Comments
 (0)