1234567891011121314151617181920212223242526 |
- --- bitlbee-3.0.1.orig/lib/Makefile 2010-11-24 23:44:00.000000000 +0100
- +++ bitlbee-3.0.1/lib/Makefile 2011-03-03 22:39:24.000000000 +0100
- @@ -14,7 +14,7 @@ endif
- # [SH] Program variables
- objects = arc.o base64.o $(DES) $(EVENT_HANDLER) ftutil.o http_client.o ini.o md5.o misc.o oauth.o proxy.o sha1.o $(SSL_CLIENT) url.o xmltree.o
-
- -LFLAGS += -r
- +LFLAGS += -Wl,-r -nostdlib
-
- # [SH] Phony targets
- all: lib.o
- @@ -35,12 +35,12 @@ distclean: clean $(subdirs)
-
- lib.o: $(objects) $(subdirs)
- @echo '*' Linking lib.o
- - @$(LD) $(LFLAGS) $(objects) -o lib.o
- + $(CC) $(LFLAGS) $(objects) -o lib.o
-
- $(objects): ../Makefile.settings Makefile
-
- $(objects): %.o: $(SRCDIR)%.c
- @echo '*' Compiling $<
- - @$(CC) -c $(CFLAGS) $< -o $@
- + $(CC) -c $(CFLAGS) $< -o $@
-
- -include .depend/*.d
|