diff options
author | Leon Woestenberg <leon.woestenberg@gmail.com> | 2008-03-01 00:29:47 +0000 |
---|---|---|
committer | Leon Woestenberg <leon.woestenberg@gmail.com> | 2008-03-01 00:29:47 +0000 |
commit | 6ea7f59d1afd33c78c3f3542b3f3e419dbb65127 (patch) | |
tree | 390d6817ae298972560c708f5e527962e6d39bca /packages/ltp/ltp-20080229/cross-compile.patch | |
parent | 07b305be5bd9ab2ae6bed80d81faf2b6f16a3a49 (diff) |
ltp: 2008-02-29 release. Patched to build. ballista test still fails detecting native perl. Not tested on any target yet.
Diffstat (limited to 'packages/ltp/ltp-20080229/cross-compile.patch')
-rw-r--r-- | packages/ltp/ltp-20080229/cross-compile.patch | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/packages/ltp/ltp-20080229/cross-compile.patch b/packages/ltp/ltp-20080229/cross-compile.patch index 4aa4eefd18..456bf4f135 100644 --- a/packages/ltp/ltp-20080229/cross-compile.patch +++ b/packages/ltp/ltp-20080229/cross-compile.patch @@ -1,7 +1,7 @@ Index: ltp-full-20080229/Makefile =================================================================== --- ltp-full-20080229.orig/Makefile 2008-02-29 08:55:41.000000000 +0100 -+++ ltp-full-20080229/Makefile 2008-03-01 00:27:33.000000000 +0100 ++++ ltp-full-20080229/Makefile 2008-03-01 01:14:35.000000000 +0100 @@ -33,11 +33,12 @@ endif ifdef CROSS_COMPILER @@ -19,7 +19,7 @@ Index: ltp-full-20080229/Makefile Index: ltp-full-20080229/testcases/ballista/ballista/Makefile =================================================================== --- ltp-full-20080229.orig/testcases/ballista/ballista/Makefile 2008-02-29 08:55:46.000000000 +0100 -+++ ltp-full-20080229/testcases/ballista/ballista/Makefile 2008-03-01 00:27:33.000000000 +0100 ++++ ltp-full-20080229/testcases/ballista/ballista/Makefile 2008-03-01 01:14:35.000000000 +0100 @@ -24,7 +24,7 @@ ######################## @@ -29,3 +29,29 @@ Index: ltp-full-20080229/testcases/ballista/ballista/Makefile CFLAGS = -w -O ${TARGET_DEF} CLIBS = -lpthread -ldl -lnsl -rdynamic TEST_MAN_FILE = selfHost +Index: ltp-full-20080229/testcases/kernel/security/filecaps/Makefile +=================================================================== +--- ltp-full-20080229.orig/testcases/kernel/security/filecaps/Makefile 2008-03-01 01:14:49.000000000 +0100 ++++ ltp-full-20080229/testcases/kernel/security/filecaps/Makefile 2008-03-01 01:15:05.000000000 +0100 +@@ -20,7 +20,6 @@ + + SCRIPTS = filecapstest.sh checkforlibcap.sh checkforfilecaps.sh + ifeq ($(shell sh checkforlibcap.sh yesno),yes) +-CC=gcc + + CFLAGS += -I../../../../include -Wall + LDLIBS += -L../../../../lib -lltp -lcap +@@ -29,11 +28,11 @@ + TARGETS = $(patsubst %.c,%,$(SRCS)) + INSTALLTARGETS = $(TARGETS) $(SCRIPTS) + all: $(TARGETS) +- gcc -o checkforlibcap gotlibcap.c ++ $(CC) -o checkforlibcap gotlibcap.c + else + all: + @echo "setcap or xattr headers not installed. Please install libcap from"; echo "ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/libcap2"; echo "Then make clean in ltp or ltp/testcases/kernel/security/filecaps, and recompile ltp." +- gcc -o checkforlibcap nolibcap.c ++ $(CC) -o checkforlibcap nolibcap.c + TARGETS = + endif + |