restore -nostdlib for libgcc symbols tests
Commit 24f4e57c46
plugged leakage
of CFLAGS between individual tests, which broke test for libgcc
symbols. It needs -nostdlib which was set in previous test and
inherited before. Set it explicitly.
This commit is contained in:
parent
c2fdb33116
commit
31c0cd4362
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2013-11-16 Andrey Borzenkov <arvidjaar@gmail.com>
|
||||||
|
|
||||||
|
* configure.ac: Restore -nostdlib for libgcc symbols tests.
|
||||||
|
|
||||||
2013-11-16 Andrey Borzenkov <arvidjaar@gmail.com>
|
2013-11-16 Andrey Borzenkov <arvidjaar@gmail.com>
|
||||||
|
|
||||||
* docs/grub.texi (Environment): Document cmdpath.
|
* docs/grub.texi (Environment): Document cmdpath.
|
||||||
|
|
|
@ -815,9 +815,9 @@ LIBS="$TARGET_LIBGCC"
|
||||||
grub_ASM_USCORE
|
grub_ASM_USCORE
|
||||||
if test "x$TARGET_APPLE_LINKER" = x0 ; then
|
if test "x$TARGET_APPLE_LINKER" = x0 ; then
|
||||||
if test x$grub_cv_asm_uscore = xyes; then
|
if test x$grub_cv_asm_uscore = xyes; then
|
||||||
CFLAGS="$TARGET_CFLAGS -Wl,--defsym,_abort=_main"
|
CFLAGS="$TARGET_CFLAGS -nostdlib -Wl,--defsym,_abort=_main"
|
||||||
else
|
else
|
||||||
CFLAGS="$TARGET_CFLAGS -Wl,--defsym,abort=main"
|
CFLAGS="$TARGET_CFLAGS -nostdlib -Wl,--defsym,abort=main"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue