aboutsummaryrefslogtreecommitdiff
path: root/package/poco/0002-add-cross-build-config.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/poco/0002-add-cross-build-config.patch')
-rw-r--r--package/poco/0002-add-cross-build-config.patch82
1 files changed, 0 insertions, 82 deletions
diff --git a/package/poco/0002-add-cross-build-config.patch b/package/poco/0002-add-cross-build-config.patch
deleted file mode 100644
index a08783833b..0000000000
--- a/package/poco/0002-add-cross-build-config.patch
+++ /dev/null
@@ -1,82 +0,0 @@
-From: Baruch Siach <baruch@tkos.co.il>
-Subject: [PATCH] poco: add Linux configuration file for generic cross build
-
-This patch adds the Linux-CrossEnv config file to poco. This file is identical
-to the Linux one, except the added CROSSENV variable that allows setting of
-the toolchain prefix.
-
-Signed-off-by: Baruch Siach <baruch@tkos.co.il>
----
-diff -Nuar poco-1.4.1p1-dist/build/config/Linux-CrossEnv poco-1.4.1p1/build/config/Linux-CrossEnv
---- poco-1.4.1p1-dist/build/config/Linux-CrossEnv 1970-01-01 02:00:00.000000000 +0200
-+++ poco-1.4.1p1/build/config/Linux-CrossEnv 2011-08-02 18:51:03.682047719 +0300
-@@ -0,0 +1,69 @@
-+#
-+# Linux
-+#
-+# Make settings for cross compiled Linux
-+#
-+#
-+
-+#
-+# General Settings
-+#
-+LINKMODE ?= SHARED
-+
-+#
-+# Define Tools
-+#
-+CC = $(CROSSENV)gcc
-+CXX = $(CROSSENV)g++
-+LINK = $(CXX)
-+LIB = $(CROSSENV)ar -cr
-+RANLIB = $(CROSSENV)ranlib
-+SHLIB = $(CXX) -shared -Wl,-soname,$(notdir $@) -o $@
-+SHLIBLN = $(POCO_BASE)/build/script/shlibln
-+STRIP = $(CROSSENV)strip
-+DEP = $(POCO_BASE)/build/script/makedepend.gcc
-+SHELL = sh
-+RM = rm -rf
-+CP = cp
-+MKDIR = mkdir -p
-+
-+#
-+# Extension for Shared Libraries
-+#
-+SHAREDLIBEXT = .so.$(target_version)
-+SHAREDLIBLINKEXT = .so
-+
-+#
-+# Compiler and Linker Flags
-+#
-+CFLAGS =
-+CFLAGS32 =
-+CFLAGS64 =
-+CXXFLAGS = -Wall -Wno-sign-compare
-+CXXFLAGS32 =
-+CXXFLAGS64 =
-+LINKFLAGS =
-+LINKFLAGS32 =
-+LINKFLAGS64 =
-+STATICOPT_CC =
-+STATICOPT_CXX =
-+STATICOPT_LINK = -static
-+SHAREDOPT_CC = -fPIC
-+SHAREDOPT_CXX = -fPIC
-+SHAREDOPT_LINK = -Wl,-rpath,$(LIBPATH)
-+DEBUGOPT_CC = -g -D_DEBUG
-+DEBUGOPT_CXX = -g -D_DEBUG
-+DEBUGOPT_LINK = -g
-+RELEASEOPT_CC = -O2 -DNDEBUG
-+RELEASEOPT_CXX = -O2 -DNDEBUG
-+RELEASEOPT_LINK = -O2
-+
-+#
-+# System Specific Flags
-+#
-+SYSFLAGS = -D_XOPEN_SOURCE=500 -D_REENTRANT -D_THREAD_SAFE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DPOCO_HAVE_FD_EPOLL
-+
-+#
-+# System Specific Libraries
-+#
-+SYSLIBS = -lpthread -ldl -lrt