Ticket #262: tt262-linkflags.patch

File tt262-linkflags.patch, 1.8 KB (added by rurban, 5 years ago)
  • config/gen/makefiles/root.in

     
    21872187# for use by t/pmc/nci.t 
    21882188$(LIBNCI_TEST_SO): $(SRC_DIR)/nci_test$(O) 
    21892189        $(LD) $(LD_LOAD_FLAGS) @ncilib_link_extra@ $(LDFLAGS) \ 
    2190     @ld_out@$@ $(SRC_DIR)/nci_test$(O) $(C_LIBS) 
     2190    @ld_out@$@ $(SRC_DIR)/nci_test$(O) $(C_LIBS) $(LINKFLAGS) 
    21912191 
    21922192# for use by runtime/parrot/library/OpenGL.pir 
    21932193$(LIBGLUTCB_SO): $(LIBPARROT) $(SRC_DIR)/glut_callbacks$(O) 
    21942194        $(LD) $(LD_LOAD_FLAGS) $(LDFLAGS) \ 
    21952195    @ld_out@$@ $(SRC_DIR)/glut_callbacks$(O) \ 
    2196     $(ALL_PARROT_LIBS) @opengl_lib@ 
     2196    $(ALL_PARROT_LIBS) @opengl_lib@ $(LINKFLAGS) 
    21972197 
    21982198# emacs etags 
    21992199# this needs exuberant-ctags 
  • config/gen/makefiles/dynpmc_pl.in

     
    2828# Config stuff 
    2929our $CC = q[@cc@ -c]; 
    3030our $LD = q[@ld@]; 
    31 our $LDFLAGS = q[@ldflags@ @ld_debug@ @rpath_blib@]; 
     31our $LDFLAGS = q[@ldflags@ @ld_debug@ @rpath_blib@ @linkflags@]; 
    3232our $LD_LOAD_FLAGS = q[@ld_load_flags@]; 
    3333our $PERL = q[@perl@]; 
    3434our $LOAD_EXT = q[@load_ext@]; 
  • config/gen/makefiles/dynoplibs_pl.in

     
    2424# Config stuff 
    2525our $CC = q[@cc@ -c]; 
    2626our $LD = q[@ld@]; 
    27 our $LDFLAGS = q[@ldflags@ @ld_debug@ @rpath_blib@]; 
     27our $LDFLAGS = q[@ldflags@ @ld_debug@ @rpath_blib@ @linkflags@]; 
    2828our $LD_LOAD_FLAGS = q[@ld_load_flags@]; 
    2929our $PERL = q[@perl@]; 
    3030our $LOAD_EXT = q[@load_ext@];