mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-27 01:29:27 +00:00
emu build fixes for sparc64 and freebsd
This commit is contained in:
1 parent
7d8c021353
commit
5f02926bbc
4 files changed
+9
-10
No files matched your search
+6
-1
@@ -1,6 +1,8 @@
|
||||
# -*- makefile -*-
|
||||
|
||||
COMMON_CFLAGS += -nostdinc -isystem $(shell $(TARGET_CC) -print-file-name=include)
|
||||
ifeq ($(target_cpu), sparc64)
|
||||
COMMON_LDFLAGS += -mno-relax
|
||||
endif
|
||||
|
||||
kernel_img_RELOCATABLE = yes
|
||||
pkglib_PROGRAMS = kernel.img
|
||||
@@ -45,6 +47,9 @@ cpuid_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
||||
endif
|
||||
|
||||
grub_emu_LDFLAGS = $(LIBCURSES)
|
||||
ifeq ($(target_cpu), sparc64)
|
||||
grub_emu_LDFLAGS += -m64 -mno-relax
|
||||
endif
|
||||
|
||||
ifeq ($(enable_grub_emu_usb), yes)
|
||||
kernel_img_HEADERS += libusb.h
|
||||
|
||||
Reference in new issue
Block a user