Ignore:
Timestamp:
Aug 11, 2003, 3:59:19 PM (22 years ago)
Author:
bird
Message:

No stripping of import libs, objcopy is borked.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/mkimplib.smak

    • Property cvs2svn:cvs-rev changed from 1.3 to 1.4
    r579 r580  
    33# this submakefile see build.txt.
    44
    5 # for opt builds we have our own install rules
    6 ifeq ($(findstring prof,$(.TKIND)),)
    7 ifneq ($(findstring aout,$(.TKIND)),)
    8 ifeq ($(MODE),opt)
    9 .NOINST := 1
    10 endif
    11 endif
    12 endif
     5## for opt builds we have our own install rules
     6# objcopy nukes imports.
     7#ifeq ($(findstring prof,$(.TKIND)),)
     8#ifneq ($(findstring aout,$(.TKIND)),)
     9#ifeq ($(MODE),opt)
     10#.NOINST := 1
     11#endif
     12#endif
     13#endif
    1314                   
    1415include common.smak
     
    2122        $(call FECHO,_@,        $$(call DO.IMPLIB))$(NL)
    2223
    23 # Rule for stripping debug info.
    24 ifdef .NOINST
    25 INS.FILES += $(INS)$(.INSDIR)$(.TARGET)
    26 $(INS)$(.INSDIR)$(.TARGET): $.$(.TARG)
    27         objcopy --strip-debug $< $@
    28        
    29 INS.FILES += $(INS)$(.INSDIR)dbg/$(.TARGET)
    30 $(INS)$(.INSDIR)dbg/$(.TARGET): $.$(.TARG)
    31         mkdir -p $(INS)$(.INSDIR)dbg
    32         $(call CP,$<,$@)
    33 endif   
     24## Rule for stripping debug info.
     25#ifdef .NOINST
     26#INS.FILES += $(INS)$(.INSDIR)$(.TARGET)
     27#$(INS)$(.INSDIR)$(.TARGET): $.$(.TARG)
     28#       objcopy --strip-debug $< $@
     29#       
     30#INS.FILES += $(INS)$(.INSDIR)dbg/$(.TARGET)
     31#$(INS)$(.INSDIR)dbg/$(.TARGET): $.$(.TARG)
     32#       mkdir -p $(INS)$(.INSDIR)dbg
     33#       $(call CP,$<,$@)
     34#endif 
    3435                                                                   
    3536include mkomflib.smak
Note: See TracChangeset for help on using the changeset viewer.