mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-29 10:39:22 +00:00
* configure.ac: Don't add -no-itegrated-as on clang on non-x86.
This commit is contained in:
1 parent
60375a88fe
commit
390cd7ca90
2 files changed
+6
-1
No files matched your search
@@ -1,3 +1,7 @@
|
|||||||
|
2013-11-07 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* configure.ac: Don't add -no-itegrated-as on clang on non-x86.
|
||||||
|
|
||||||
2013-11-07 Vladimir Serbinenko <phcoder@gmail.com>
|
2013-11-07 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
Allow compiling with clang (not really supported though).
|
Allow compiling with clang (not really supported though).
|
||||||
|
|||||||
+2
-1
@@ -489,7 +489,8 @@ AC_CACHE_CHECK([if compiling with clang], [grub_cv_cc_target_clang]
|
|||||||
]])],
|
]])],
|
||||||
[grub_cv_cc_target_clang=no], [grub_cv_cc_target_clang=yes])])
|
[grub_cv_cc_target_clang=no], [grub_cv_cc_target_clang=yes])])
|
||||||
|
|
||||||
if test "x$grub_cv_cc_target_clang" = xyes; then
|
# clang doesn't support .code16
|
||||||
|
if test "x$grub_cv_cc_target_clang" = xyes && ( test "x$target_cpu" = xi386 || test "x$target_cpu" = xx86_64 ); then
|
||||||
TARGET_CCASFLAGS="$TARGET_CCASFLAGS -no-integrated-as"
|
TARGET_CCASFLAGS="$TARGET_CCASFLAGS -no-integrated-as"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user