Print this page
7015 libc tests need to use LINK64 correctly, rather than just passing -m64

Split Close
Expand all
Collapse all
          --- old/usr/src/test/libc-tests/tests/Makefile
          +++ new/usr/src/test/libc-tests/tests/Makefile
↓ open down ↓ 74 lines elided ↑ open up ↑
  75   75  $(ROOTOPTDIR):
  76   76          $(INS.dir)
  77   77  
  78   78  $(ROOTOPTDIR)/%: %
  79   79          $(INS.file)
  80   80  
  81   81  $(ROOTOPTDIR)/%: %.ksh
  82   82          $(INS.rename)
  83   83  
  84   84  %.64: %.c
  85      -        $(LINK.c) -m64 -o $@ $< $(LDLIBS64)
       85 +        $(LINK64.c) -o $@ $< $(LDLIBS64)
  86   86          $(POST_PROCESS)
  87   87  
  88   88  %.32: %.c
  89   89          $(LINK.c) -m32 -o $@ $< $(LDLIBS)
  90   90          $(POST_PROCESS)
  91   91  
  92   92  clobber: $(SUBDIRS)
  93   93          $(RM) $(PROGS32) $(PROGS64)
  94   94  
  95   95  $(SUBDIRS): FRC
  96   96          @cd $@; pwd; $(MAKE) $(TARGET)
  97   97  
  98   98  FRC:
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX