Print this page
fix gld to use 32bit only if we are using gld 64bit

Split Close
Expand all
Collapse all
          --- old/usr/src/grub/grub-0.97/grub/Makefile.solaris
          +++ new/usr/src/grub/grub-0.97/grub/Makefile.solaris
↓ open down ↓ 2 lines elided ↑ open up ↑
   3    3  # Use is subject to license terms.
   4    4  #
   5    5  # ident "%Z%%M% %I%     %E% SMI"
   6    6  #
   7    7  include ../../Makefile.grub
   8    8  include ../Makefile.solaris.defs
   9    9  
  10   10  
  11   11  GRUB            = grub
  12   12  GRUB_OBJS       = asmstub.o main.o
  13      -$(GRUB)         := LIBS = ../stage2/libgrub.a ../lib/libcommon.a -lcurses
       13 +$(GRUB)         := LIBS = ../stage2/libgrub.a ../lib/libcommon.a -lcurses -m32
  14   14  $(GRUB)         := LDFLAGS += $(LDLIBS.cmd)
  15   15  $(GRUB)         := CCLD = $(CC)
  16   16  
  17   17  #
  18   18  # The grub shell interposes on the getopt() family.  Should direct bindings be
  19   19  # enabled, these interfaces should be explicitly defined as interposes.  Use a
  20   20  # mapfile to associate the necessary interposer definitions.
  21   21  #
  22   22  MAPFILES        = $(MAPFILE.INT)
  23   23  
↓ open down ↓ 54 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX