mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 02:29:59 -06:00
Only use "-fPIC" for compiling objects that will be part of dynamic libs. Make SConscripts inherit the compile flags from the top level instead of overriding them.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@329 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -19,7 +19,6 @@ compileFlags = [
|
||||
'-g',
|
||||
'-O3',
|
||||
'-fno-strict-aliasing',
|
||||
'-fPIC',
|
||||
'-msse2',
|
||||
'-D_FILE_OFFSET_BITS=64',
|
||||
'-D_LARGEFILE_SOURCE',
|
||||
@ -72,8 +71,8 @@ lib_paths = include_paths
|
||||
env = Environment(
|
||||
CC = "gcc",
|
||||
CXX = "g++",
|
||||
CCFLAGS = compileFlags,
|
||||
CXXFLAGS = compileFlags,
|
||||
CCFLAGS = ' '.join(compileFlags),
|
||||
CXXFLAGS = ' '.join(compileFlags),
|
||||
CPPPATH = include_paths,
|
||||
LIBPATH = lib_paths,
|
||||
ENV = {
|
||||
|
Reference in New Issue
Block a user