mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 16:49:23 +00:00
2009-06-11 Pavel Roskin <proski@gnu.org>
* configure.ac: Always define ___main if using -nostdlib. This fixes tests on Cygwin.
This commit is contained in:
1 parent
948f48e731
commit
7d83bd47b7
2 files changed
+8
-3
No files matched your search
+1
-1
@@ -396,7 +396,7 @@ AC_SUBST(TARGET_LDFLAGS)
|
||||
|
||||
# Set them to their new values for the tests below.
|
||||
CC="$TARGET_CC"
|
||||
CFLAGS="$TARGET_CFLAGS -nostdlib"
|
||||
CFLAGS="$TARGET_CFLAGS -nostdlib -Wl,--defsym,___main=0x8100"
|
||||
CPPFLAGS="$TARGET_CPPFLAGS"
|
||||
LDFLAGS="$TARGET_LDFLAGS"
|
||||
|
||||
|
||||
Reference in new issue
Block a user