From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Q3lmC-0002yl-9v for garchives@archives.gentoo.org; Sun, 27 Mar 2011 08:56:48 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0038F1C0B2; Sun, 27 Mar 2011 08:56:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id B78631C0BC for ; Sun, 27 Mar 2011 08:56:40 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4C6FC1B4139 for ; Sun, 27 Mar 2011 08:56:40 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id A7D8D8006E for ; Sun, 27 Mar 2011 08:56:39 +0000 (UTC) From: "Petteri Räty" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Petteri Räty" Message-ID: <5bd8bcf2282a165132b403a0246a3a04315835f1.betelgeuse@gentoo> Subject: [gentoo-commits] proj/libbash:master commit in: / X-VCS-Repository: proj/libbash X-VCS-Files: Makefile.am X-VCS-Directories: / X-VCS-Committer: betelgeuse X-VCS-Committer-Name: Petteri Räty X-VCS-Revision: 5bd8bcf2282a165132b403a0246a3a04315835f1 Date: Sun, 27 Mar 2011 08:56:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 16030b84f40e6bb758125d0664e2d02c commit: 5bd8bcf2282a165132b403a0246a3a04315835f1 Author: Petteri R=C3=A4ty petteriraty eu> AuthorDate: Sat Mar 26 21:57:58 2011 +0000 Commit: Petteri R=C3=A4ty gentoo org> CommitDate: Sat Mar 26 21:57:58 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/libbash.git;a= =3Dcommit;h=3D5bd8bcf2 Hidden visibility for generated .c files CXXFLAGS is not in use for .c files so the antlr generated files ended up in the symbol table. This is now fixed. --- Makefile.am | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index b30ae49..faecc69 100644 --- a/Makefile.am +++ b/Makefile.am @@ -117,9 +117,12 @@ libcppbash_la_SOURCES =3D src/cppbash_builtin.cpp \ src/core/interpreter.h \ src/core/symbols.hpp \ $(GENERATED_WALKER_C) -libcppbash_la_CXXFLAGS =3D $(AM_CXXFLAGS) \ - -fvisibility=3Dhidden \ - -fvisibility-inlines-hidden + +HIDDEN_FLAGS =3D -fvisibility=3Dhidden \ + -fvisibility-inlines-hidden + +libcppbash_la_CXXFLAGS =3D $(AM_CXXFLAGS) $(HIDDEN_FLAGS) +libcppbash_la_CFLAGS =3D $(AM_CFLAGS) $(HIDDEN_FLAGS) =20 EXTRA_DIST =3D bashast/bashast.g \ bashast/bashwalker.g \