Browse Source

Merge topic 'bootstrap-cflags'

c7aa38f bootstrap: Honor CFLAGS during "make" test (#10545)
Brad King 15 years ago
parent
commit
6426a86d5e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bootstrap

+ 1 - 1
bootstrap

@@ -839,7 +839,7 @@ mkdir "${cmake_bootstrap_dir}/${TMPFILE}"
 cd "${cmake_bootstrap_dir}/${TMPFILE}"
 echo '
 test: test.c
-	"'"${cmake_c_compiler}"'" -o test test.c
+	"'"${cmake_c_compiler}"'" '"${cmake_ld_flags} ${cmake_c_flags}"' -o test test.c
 '>"Makefile"
 echo '
 #include <stdio.h>