On Sunday 09 March 2008, Robert Schwebel wrote: > Usually the cross compiler is set from the toplevel directory by setting > the CROSS_COMPILER variable. This makefile tries to overwrite it (and > even in two different ways - has this ever been reviewed by anybody?), > but wrong.
nothing should be using $(CROSS_CFLAGS) > -CC=gcc OK > all: $(TARGETS) > - gcc -o checkforlibcap gotlibcap.c > + $(CC) $(CROSS_CFLAGS) $(CFLAGS) -o checkforlibcap gotlibcap.c better to just use implicit rules ... the hardcoded rule here does not support LD related variables -mike
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
