From 26c28d3a4f8c7b8645576f9836f734d42b157c62 Mon Sep 17 00:00:00 2001 From: Maarten ter Huurne Date: Wed, 27 Aug 2008 11:52:28 +0000 Subject: [PATCH] "-fvisibility-inlines-hidden" is a C++-only flag, so include it in CXXFLAGS but not in CCFLAGS. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@353 8ced0084-cf51-0410-be5f-012b33b47a6e --- SConstruct | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SConstruct b/SConstruct index e409bde916..9969a473e1 100644 --- a/SConstruct +++ b/SConstruct @@ -24,7 +24,6 @@ compileFlags = [ '-D_LARGEFILE_SOURCE', '-DGCC_HASCLASSVISIBILITY', '-fvisibility=hidden', - '-fvisibility-inlines-hidden', ] compileFlags += [ '-W' + warning for warning in warnings ] #compileFlags += [ '-DLOGGING' ] @@ -75,7 +74,7 @@ env = Environment( CC = "gcc", CXX = "g++", CCFLAGS = ' '.join(compileFlags), - CXXFLAGS = ' '.join(compileFlags), + CXXFLAGS = ' '.join(compileFlags + [ '-fvisibility-inlines-hidden' ]), CPPPATH = include_paths, LIBPATH = lib_paths, ENV = {