Sebastien Dugue wrote:
On Fri, 14 Mar 2008 20:44:22 +0530 Subrata Modak <[EMAIL PROTECTED]> wrote:

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, but
wrong.

It is also possible to push in CFLAGS from the toplevel by using
CROSS_CFLAGS. We should use these here as well.

Finally, LDFLAGS are set here but not used by the makefiles. Moving the
posix libs to LDLIBS makes it build.

Signed-off-by: Robert Schwebel <[EMAIL PROTECTED]>

---
 testcases/realtime/config.mk |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Index: ltp-full-20080229/testcases/realtime/config.mk
The Patch does not apply as the mentioned file does not exist, and, might have been deleted some time back.

  Of course, this patch needs to be applied after the
[RFC PATCH 0/3] [Realtime] Get rid of autotools series.

Oh i see. I did not apply any patches in this series. Waiting for some more Patches from Robert over the original patches, after which i will apply this too. Thanks for pointing out this.

Regards--
Subrata
  Sebastien.

Regards--
Subrata
===================================================================
--- ltp-full-20080229.orig/testcases/realtime/config.mk 2008-03-09 
00:33:47.000000000 +0100
+++ ltp-full-20080229/testcases/realtime/config.mk      2008-03-09 
00:40:40.000000000 +0100
@@ -16,9 +16,9 @@

 # Default stuff common to all testcases
 #
-CFLAGS +=  -Wall -Werror -O2 -I$(srcdir)/include -D_GNU_SOURCE
-LDFLAGS        += -lpthread -lrt -lm
+CFLAGS += -Wall -Werror -O2 -I$(srcdir)/include -D_GNU_SOURCE $(CROSS_CFLAGS)
 LDLIBS += $(srcdir)/lib/libjvmsim.a \
           $(srcdir)/lib/librttest.a \
-          $(srcdir)/lib/libstats.a
-CC     = gcc
+          $(srcdir)/lib/libstats.a \
+          -lpthread -lrt -lm
+


-------------------------------------------------------------------------
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

Reply via email to