diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2017-07-25 22:16:37 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-07-25 22:16:37 +0200 |
commit | 82bab389a4f5e871dae68ff376fb74537b1e75b6 (patch) | |
tree | 00bb643162853e282e04eeae6c1f06e232216027 /package/tinyxml/patches/patch-Makefile | |
parent | f94dbc199e0abcdd3b8cc9d9d7226d8a1a6b47e1 (diff) | |
parent | dba433e831fb3fe7ea5e6ced99c92643b8e7f9e8 (diff) |
Merge branch 'master' of gogs.waldemar-brodkorb.de:linux/openadk
Diffstat (limited to 'package/tinyxml/patches/patch-Makefile')
-rw-r--r-- | package/tinyxml/patches/patch-Makefile | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/package/tinyxml/patches/patch-Makefile b/package/tinyxml/patches/patch-Makefile deleted file mode 100644 index bfe7abb95..000000000 --- a/package/tinyxml/patches/patch-Makefile +++ /dev/null @@ -1,61 +0,0 @@ ---- tinyxml.orig/Makefile 2013-07-30 15:47:47.000000000 +0200 -+++ tinyxml/Makefile 2013-07-30 15:47:46.000000000 +0200 -@@ -15,13 +15,13 @@ PROFILE := NO - - # TINYXML_USE_STL can be used to turn on STL support. NO, then STL - # will not be used. YES will include the STL files. --TINYXML_USE_STL := NO -+TINYXML_USE_STL := YES - - #**************************************************************************** - --CC := gcc --CXX := g++ --LD := g++ -+CC ?= gcc -+CXX ?= g++ -+LD := $(CXX) - AR := ar rc - RANLIB := ranlib - -@@ -41,9 +41,9 @@ ifeq (YES, ${DEBUG}) - CXXFLAGS := ${DEBUG_CXXFLAGS} - LDFLAGS := ${DEBUG_LDFLAGS} - else -- CFLAGS := ${RELEASE_CFLAGS} -- CXXFLAGS := ${RELEASE_CXXFLAGS} -- LDFLAGS := ${RELEASE_LDFLAGS} -+ CFLAGS ?= ${RELEASE_CFLAGS} -+ CXXFLAGS ?= ${RELEASE_CXXFLAGS} -+ LDFLAGS ?= ${RELEASE_LDFLAGS} - endif - - ifeq (YES, ${PROFILE}) -@@ -81,7 +81,7 @@ CXXFLAGS := ${CXXFLAGS} ${DEFS} - # Targets of the build - #**************************************************************************** - --OUTPUT := xmltest -+OUTPUT := libtinyxml.so.2.6.2 - - all: ${OUTPUT} - -@@ -90,7 +90,7 @@ all: ${OUTPUT} - # Source files - #**************************************************************************** - --SRCS := tinyxml.cpp tinyxmlparser.cpp xmltest.cpp tinyxmlerror.cpp tinystr.cpp -+SRCS := tinyxml.cpp tinyxmlparser.cpp tinyxmlerror.cpp tinystr.cpp - - # Add on the sources for libraries - SRCS := ${SRCS} -@@ -102,7 +102,8 @@ OBJS := $(addsuffix .o,$(basename ${SRCS - #**************************************************************************** - - ${OUTPUT}: ${OBJS} -- ${LD} -o $@ ${LDFLAGS} ${OBJS} ${LIBS} ${EXTRA_LIBS} -+ ${CXX} -shared -Wl,-soname,libtinyxml.so.2.6.2 -o $@ ${OBJS} ${LDFLAGS} ${LIBS} ${EXTRA_LIBS} -+ ln -sf libtinyxml.so.2.6.2 libtinyxml.so - - #**************************************************************************** - # common rules |