diff options
author | joerg <joerg> | 2013-06-13 21:40:43 +0000 |
---|---|---|
committer | joerg <joerg> | 2013-06-13 21:40:43 +0000 |
commit | fb0332c8de70aab77189304a9d358861d28381b5 (patch) | |
tree | 0f6f4005fde2e35466348ef50ce93573ed8ca625 /audio/festival/patches | |
parent | f30d7f0bbbb56834d54496be1909bc7c3806813a (diff) | |
download | pkgsrc-fb0332c8de70aab77189304a9d358861d28381b5.tar.gz |
Always link with G++ and don't hard-code libstdc++.
Diffstat (limited to 'audio/festival/patches')
-rw-r--r-- | audio/festival/patches/patch-speech__tools_config_compilers_gcc__defaults.mak | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/audio/festival/patches/patch-speech__tools_config_compilers_gcc__defaults.mak b/audio/festival/patches/patch-speech__tools_config_compilers_gcc__defaults.mak new file mode 100644 index 00000000000..e18ae6a05c8 --- /dev/null +++ b/audio/festival/patches/patch-speech__tools_config_compilers_gcc__defaults.mak @@ -0,0 +1,24 @@ +$NetBSD: patch-speech__tools_config_compilers_gcc__defaults.mak,v 1.1 2013/06/13 21:40:43 joerg Exp $ + +--- speech_tools/config/compilers/gcc_defaults.mak.orig 2010-02-03 12:28:14.000000000 +0000 ++++ speech_tools/config/compilers/gcc_defaults.mak +@@ -39,10 +39,7 @@ + ########################################################################### + + CC=gcc +-CXX=gcc +-ifeq ($(OSTYPE),Darwin) + CXX=g++ +-endif + + COMPILER_DESC=FSF gcc + COMPILER_VERSION_COMMAND=$(CXX) -v 2>&1 | tail -1 | sed -e 's/^....//' +@@ -98,7 +95,7 @@ TEMPLATE_ARGS = + ## The -lgcc here is redundant - gcc does this anyway - but it + ## helps java know what needs to be loaded. + +-COMPILERLIBS= $(COMPILER_LIBS_DIR:%=-L%) -lstdc++ -lgcc ++COMPILERLIBS= $(COMPILER_LIBS_DIR:%=-L%) + + ## special ways of doing things, blank means default + |