From 8f7ed1f5eea5ba2508d4ab9e04bf59cc4fb125d9 Mon Sep 17 00:00:00 2001 From: Kp Date: Sat, 19 Sep 2015 23:04:35 +0000 Subject: [PATCH] Remove unused program_specific_objects --- SConstruct | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SConstruct b/SConstruct index c75938d61..332a2ae3e 100644 --- a/SConstruct +++ b/SConstruct @@ -2798,13 +2798,12 @@ class DXXProgram(DXXCommon): d = Git.pcall(['diff', '--quiet'], stdout=subprocess.PIPE, stderr=subprocess.PIPE).returncode return g.out.split('\n')[0] + ('+' if c else '') + ('*' if d else '') - def _register_program(self,dxxstr,program_specific_objects=[]): + def _register_program(self,dxxstr): env = self.env exe_target = os.path.join(self.srcdir, self.target) static_archive_construction = self.static_archive_construction[self.user_settings.builddir] objects = static_archive_construction.objects_common[:] objects.extend(self.objects_common) - objects.extend(program_specific_objects) if (self.user_settings.sdlmixer == 1): objects.extend(static_archive_construction.objects_arch_sdlmixer) objects.extend(self.objects_similar_arch_sdlmixer)