diff options
| author | Richard Purdie <rpurdie@linux.intel.com> | 2009-07-31 14:51:43 +0100 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-07-31 14:51:43 +0100 |
| commit | 51536c814ae073a2b5d0c62f6377594da1ccad3c (patch) | |
| tree | 0d2c800bca9e76ba4985ca6f0d49094dc44da982 /meta/packages/opensync/libopensync/gcc.patch | |
| parent | e2182c5b04c8cb4479f921bb7e204c8f2fcb0ae9 (diff) | |
| download | poky-51536c814ae073a2b5d0c62f6377594da1ccad3c.tar.gz | |
opensync: Remove further old code
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/opensync/libopensync/gcc.patch')
| -rw-r--r-- | meta/packages/opensync/libopensync/gcc.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/meta/packages/opensync/libopensync/gcc.patch b/meta/packages/opensync/libopensync/gcc.patch deleted file mode 100644 index 3eee014339..0000000000 --- a/meta/packages/opensync/libopensync/gcc.patch +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | Index: trunk/SConstruct | ||
| 2 | =================================================================== | ||
| 3 | --- trunk.orig/SConstruct 2007-04-25 13:20:13.000000000 +0200 | ||
| 4 | +++ trunk/SConstruct 2007-04-25 14:00:02.000000000 +0200 | ||
| 5 | @@ -36,7 +36,11 @@ | ||
| 6 | opts.Add(BoolOption('enable_python', 'Build python wrapper? (swig required)', 0)) | ||
| 7 | opts.Add(BoolOption('debug_modules', 'Should unloading of shared modules be avoided (DEBUGGING ONLY!)', 0)) | ||
| 8 | opts.Add(BoolOption('enable_doxygen', 'Generating OpenSync API with doxygen?', 0)) | ||
| 9 | - | ||
| 10 | +opts.AddOptions( | ||
| 11 | +('CC', 'Path to Custom c compiler', 'gcc'), | ||
| 12 | +('CXX', 'Path to Custom c++ compiler flags', 'g++'), | ||
| 13 | +('LDFLAGS', 'Linker flags', ''), | ||
| 14 | +) | ||
| 15 | |||
| 16 | target_dir = SelectBuildDir('build') | ||
| 17 | sys.path.append(target_dir) | ||
| 18 | @@ -63,6 +67,11 @@ | ||
| 19 | env.Append(CCFLAGS = r'-DENABLE_TOOLS=$enable_tools') | ||
| 20 | env.Append(CCFLAGS = r'-DENABLE_PROFILING=$enable_profiling') | ||
| 21 | |||
| 22 | +env.Replace( | ||
| 23 | + CC = env['CC'], | ||
| 24 | + CXX = env['CXX'], | ||
| 25 | + LDFLAGS = env['LDFLAGS'] | ||
| 26 | +) | ||
| 27 | |||
| 28 | # pkg config files | ||
| 29 | subst_dict={'@prefix@': '$prefix', | ||
