We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7afe11 commit 81a93efCopy full SHA for 81a93ef
configure
@@ -471,11 +471,15 @@ do
471
export CXXFLAGS
472
export LDFLAGS
473
474
- # FIXME: This ends up filling the screen with a bunch of LLVM configuration,
475
- # depriving the user of seeing our configuration info
476
cd $LLVM_BUILD_DIR
477
- # FIXME: This won't work if CFG_SRC_DIR is absolute
478
- ${CFG_BUILD_DIR}/${CFG_LLVM_SRC_DIR}/configure $LLVM_FLAGS
+ case $CFG_SRC_DIR in
+ /* | [a-z]:* | [A-Z]:*)
+ ${CFG_LLVM_SRC_DIR}/configure $LLVM_FLAGS
+ ;;
479
+ *)
480
+ ${CFG_BUILD_DIR}/${CFG_LLVM_SRC_DIR}/configure $LLVM_FLAGS
481
482
+ esac
483
cd $CFG_BUILD_DIR
484
else
485
LLVM_BUILD_DIR=
0 commit comments