OSSP CVS Repository

ossp - Ticket #176 History
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Attach]  [Edit]  [View

Ticket 176 History: CFLAGS not passed to libtool on linkage preventing 64 bit build

  1. Created 2009-Sep-09 16:44:51 by anonymous
  2. Added remarks:
    2009-Sep-09 16:45:33 by anonymous:
    This patch solves the problem:
    diff -Naur mm-1.4.2.orig/Makefile.in mm-1.4.2.patched/Makefile.in
    --- mm-1.4.2.orig/Makefile.in   2006-08-10 21:05:55.000000000 +0200
    +++ mm-1.4.2.patched/Makefile.in        2009-09-09 16:25:45.161331795 +0200
    @@ -75,14 +75,14 @@
     all: $(LIBS) $(MANS) $(TSTS)
    
     libmm.la: $(OBJS)
    -       $(LIBTOOL) --quiet --mode=link $(CC) -o $@ $(OBJS) \
    +       $(LIBTOOL) --quiet --mode=link $(CC) $(CFLAGS) -o $@ $(OBJS) \
                -rpath $(libdir) -version-info `$(SHTOOL) version -l c -d libtool mm_vers.c`
    
     mm_alloc.c mm_core.c mm_global.c: mm.h mm_vers.c
     mm.h: config.h
    
     mm_test: mm_test.lo libmm.la
    -       $(LIBTOOL) --quiet --mode=link $(CC) -o $@ mm_test.lo libmm.la
    +       $(LIBTOOL) --quiet --mode=link $(CC) $(CFLAGS) -o $@ mm_test.lo libmm.la
    
     mm.3: mm.pod
            V1=`$(SHTOOL) version -l c -d short mm_vers.c`; \
    
    by anonymous on 2009-Sep-09 16:45

CVSTrac 2.0.1