Ignore:
Timestamp:
May 29, 2009, 9:57:41 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Fix for Ticket #85 (by diver) in 3.3 branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/source/Makefile

    r206 r239  
    2020smbtorture4_path=
    2121
    22 LIBS=
     22LIBS=-lsocket -lsyslog -lurpo
    2323CC=gcc
    2424SHLD=shared-libraries-disabled
     
    3737# (GCC) warnings. This is done automtically for --enable-developer,
    3838# --enable-picky-developer and --enable-krb5developer.
    39 DEVELOPER_CFLAGS=-g -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER -Wdeclaration-after-statement -Werror-implicit-function-declaration
     39DEVELOPER_CFLAGS=-g -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER -Werror-implicit-function-declaration
    4040CFLAGS= -O -D_SAMBA_BUILD_=3
    4141CPPFLAGS=-DHAVE_CONFIG_H  -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -I./popt
     
    4343EXEEXT=.exe
    4444AR=ar.exe
    45 LDSHFLAGS=shared-libraries-disabled  -Zexe -Zomf -Zmap -Zargs-wild -Zhigh-mem -D__ST_MT_ERRNO__ -s
    46 LDFLAGS=-pie  -Zexe -Zomf -Zmap -Zargs-wild -Zhigh-mem -D__ST_MT_ERRNO__ -s
    47 
    48 WINBIND_NSS_LDSHFLAGS=shared-libraries-disabled -Zexe -Zomf -Zmap -Zargs-wild -Zhigh-mem -D__ST_MT_ERRNO__ -s
     45LDSHFLAGS=shared-libraries-disabled  -Zexe -Zomf -Zmap -Zargs-wild -Zbin-files -D__ST_MT_ERRNO__ -s
     46LDFLAGS=  -Zexe -Zomf -Zmap -Zargs-wild -Zbin-files -D__ST_MT_ERRNO__ -s
     47
     48WINBIND_NSS_LDSHFLAGS=shared-libraries-disabled -Zexe -Zomf -Zmap -Zargs-wild -Zbin-files -D__ST_MT_ERRNO__ -s
    4949AWK=gawk
    50 PICFLAG=-fPIE
     50PICFLAG=
    5151DYNEXP=
    52 PERL=u:/perl5/bin/perl.exe
     52PERL=u:/Perl/bin/perl.exe
    5353
    5454PIDL_ARGS=
     
    8282
    8383
    84 srcdir=U:/DEV/samba-3.3.0/source
    85 builddir=U:/DEV/samba-3.3.0/source
     84srcdir=U:/Develop/Samba/samba-3.3.x/source
     85builddir=U:/Develop/Samba/samba-3.3.x/source
    8686SHELL=/bin/sh
    8787DESTDIR=/
     
    14471447bin/replacetort.exe: $(REPLACETORT_OBJ) 
    14481448        @echo Linking $@
    1449         @$(CC) $(FLAGS) -pie -o $@ $(REPLACETORT_OBJ) $(LDFLAGS) \
     1449        @$(CC) $(FLAGS) -o $@ $(REPLACETORT_OBJ) $(LDFLAGS) \
    14501450                $(DYNEXP) $(LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS)
    14511451
    14521452bin/smbconftort.exe: $(SMBCONFTORT_OBJ)   
    14531453        @echo Linking $@
    1454         @$(CC) $(FLAGS) -pie -o $@ $(SMBCONFTORT_OBJ) $(LDFLAGS) \
     1454        @$(CC) $(FLAGS) -o $@ $(SMBCONFTORT_OBJ) $(LDFLAGS) \
    14551455                $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
    14561456                $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
Note: See TracChangeset for help on using the changeset viewer.