"-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
This commit is contained in:
parent
794f656188
commit
26c28d3a4f
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue