diff options
Diffstat (limited to 'o3d')
-rw-r--r-- | o3d/build/common_global.gypi | 5 | ||||
-rw-r--r-- | o3d/import/archive.gyp | 15 | ||||
-rw-r--r-- | o3d/import/import.gyp | 7 | ||||
-rw-r--r-- | o3d/plugin/idl/idl.gyp | 13 | ||||
-rw-r--r-- | o3d/plugin/plugin.gyp | 3 |
5 files changed, 6 insertions, 37 deletions
diff --git a/o3d/build/common_global.gypi b/o3d/build/common_global.gypi index b4d4e8fb..6e62f1a 100644 --- a/o3d/build/common_global.gypi +++ b/o3d/build/common_global.gypi @@ -31,6 +31,11 @@ '-m64', ], }], + [ 'OS == "linux" and target_arch=="arm"', { + 'cflags': [ + '-fPIC', + ], + }], [ 'OS == "mac"', { 'xcode_settings': { 'MACOSX_DEPLOYMENT_TARGET': '10.5', diff --git a/o3d/import/archive.gyp b/o3d/import/archive.gyp index ec724a4..525f6c9a 100644 --- a/o3d/import/archive.gyp +++ b/o3d/import/archive.gyp @@ -16,21 +16,6 @@ '../../<(cgdir)/include', '../../<(gtestdir)', ], - 'conditions': [ - ['OS=="linux"', - { - 'include_dirs': [ - '/usr/include/cairo', - '/usr/include/glib-2.0', - '/usr/include/gtk-2.0', - '/usr/include/pango-1.0', - '/usr/lib/glib-2.0/include', - '/usr/lib/gtk-2.0/include', - '/usr/include/atk-1.0', - ], - }, - ], - ], }, 'targets': [ { diff --git a/o3d/import/import.gyp b/o3d/import/import.gyp index d07fd1c..9c43b72 100644 --- a/o3d/import/import.gyp +++ b/o3d/import/import.gyp @@ -83,13 +83,6 @@ ], 'include_dirs': [ '../../third_party/glew/files/include', - '/usr/include/cairo', - '/usr/include/glib-2.0', - '/usr/include/gtk-2.0', - '/usr/include/pango-1.0', - '/usr/lib/glib-2.0/include', - '/usr/lib/gtk-2.0/include', - '/usr/include/atk-1.0', ], }, ], diff --git a/o3d/plugin/idl/idl.gyp b/o3d/plugin/idl/idl.gyp index 6042ea8..a6eb6c3 100644 --- a/o3d/plugin/idl/idl.gyp +++ b/o3d/plugin/idl/idl.gyp @@ -43,19 +43,6 @@ ], }, ], - ['OS=="linux"', - { - 'include_dirs': [ - '/usr/include/cairo', - '/usr/include/glib-2.0', - '/usr/include/gtk-2.0', - '/usr/include/pango-1.0', - '/usr/lib/glib-2.0/include', - '/usr/lib/gtk-2.0/include', - '/usr/include/atk-1.0', - ], - }, - ], ], }, 'targets': [ diff --git a/o3d/plugin/plugin.gyp b/o3d/plugin/plugin.gyp index 48b9498..9fca8f9 100644 --- a/o3d/plugin/plugin.gyp +++ b/o3d/plugin/plugin.gyp @@ -209,8 +209,7 @@ 'linux/main_linux.cc', ], 'ldflags': [ - '-z', - 'nodelete', + '-Wl,-znodelete', '-Wl,--gc-sections', ], 'link_settings': { |