Hi, Remy Bohmer wrote:
> +===================================================================
> +--- utelnetd-0.1.9.orig/Makefile 2003-08-08 09:25:18.000000000 +0200
> ++++ utelnetd-0.1.9/Makefile 2007-08-29 12:54:35.000000000 +0200
> +@@ -35,7 +35,7 @@ OBJS = utelnetd.o
> + CC = $(CROSS)gcc
> + INSTALL = install
> +
> +-CFLAGS += -I. -pipe -DSHELLPATH=\"$(LOGIN)\" -Wall
> ++CFLAGS += $(EXTRA_CFLAGS) -I. -pipe -DSHELLPATH=\"$(LOGIN)\" -Wall
there is no need to pass the CFLAGS via EXTRA_CFLAGS into this file,
because it uses +=, so the CFLAGS comming from the environment are used.
> +
> + ifneq ("","$(DEBUG)")
> + CFLAGS += -DDEBUG -g -Os
> +@@ -53,7 +53,7 @@ endif
> + all: $(PROGS)
> +
> + $(PROGS): $(OBJS)
> +- $(CC) $(LDFLAGS) $^ $(LDLIBS) -o $@
> ++ $(CC) $(LDFLAGS) $(EXTRA_CFLAGS) $^ $(LDLIBS) -o $@
sorry, but this is the linking stage, it's too late for any CFLAGS here.
> + $(STRIP) --remove-section=.comment --remove-section=.note $@
> +
> + .PHONY: install
I've cleaned up this fixes and made a new utelnetd-0.1.10, check if it
still works for you. (everything is in ptxdist, just do svn up)
cheers, Marc
--
Marc Kleine-Budde Phone: +49-231-2826-924
Pengutronix - Linux Solutions for Science and Industry
Vertretung West/Dortmund http://www.pengutronix.de
signature.asc
Description: OpenPGP digital signature
-- ptxdist mailing list [email protected]
