"-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',
|
'-D_LARGEFILE_SOURCE',
|
||||||
'-DGCC_HASCLASSVISIBILITY',
|
'-DGCC_HASCLASSVISIBILITY',
|
||||||
'-fvisibility=hidden',
|
'-fvisibility=hidden',
|
||||||
'-fvisibility-inlines-hidden',
|
|
||||||
]
|
]
|
||||||
compileFlags += [ '-W' + warning for warning in warnings ]
|
compileFlags += [ '-W' + warning for warning in warnings ]
|
||||||
#compileFlags += [ '-DLOGGING' ]
|
#compileFlags += [ '-DLOGGING' ]
|
||||||
|
@ -75,7 +74,7 @@ env = Environment(
|
||||||
CC = "gcc",
|
CC = "gcc",
|
||||||
CXX = "g++",
|
CXX = "g++",
|
||||||
CCFLAGS = ' '.join(compileFlags),
|
CCFLAGS = ' '.join(compileFlags),
|
||||||
CXXFLAGS = ' '.join(compileFlags),
|
CXXFLAGS = ' '.join(compileFlags + [ '-fvisibility-inlines-hidden' ]),
|
||||||
CPPPATH = include_paths,
|
CPPPATH = include_paths,
|
||||||
LIBPATH = lib_paths,
|
LIBPATH = lib_paths,
|
||||||
ENV = {
|
ENV = {
|
||||||
|
|
Loading…
Reference in New Issue