Commits

Anonymous committed 6a93341

minor changes to config file

Comments (0)

Files changed (1)

         local llvmObjRoot=`llvm-config --obj-root`
         local llvmSrcRoot=`llvm-config --src-root`
 
-        local llvmBin=llvmPrefix "\bin"
+        local srcDir=$(devenv_get_var source_dir)
+        #local llvmBin=llvmPrefix "\bin"
 
         if [ ! -e config.log -o $build_opt_reconfigure -eq 1 ] && \
             [ "$clean_target" = "no" ]; then
-            echo "$(devenv_get_var source_dir)/configure" --prefix="$llvmPrefix" \
+            echo "$srcDir/configure" --prefix="$llvmPrefix" \
                 --with-pic --enable-pic --enable-shared \
                 --disable-multilib \
-                --with-llvm-obj=$llvmObjRoot \
-                --with-llvm-src=$llvmSrcRoot \
+                --with-llvmobj=$llvmObjRoot \
+                --with-llvmsrc=$llvmSrcRoot \
+                $configure_opts
+            "$srcDir/configure" --prefix="$llvmPrefix" \
+                --with-pic --enable-pic --enable-shared \
+                --disable-multilib \
+                --with-llvmobj=$llvmObjRoot \
+                --with-llvmsrc=$llvmSrcRoot \
                 $configure_opts
 
            exit_code=$?