changeset 6183:5d6c1bb0dd46

odcctools: always use D_FORTIFY_SOURCE=0. fixes bootstrap Util now this flag was inly used in specific system configurations. If it isn't used, there is a buffer overflow warning that we believe to be not dangerous.
author Janek Warchoł <janek.lilypond@gmail.com>
date Sat, 25 Aug 2012 10:01:39 +0200
parents 3a70c061711b
children 6a6aabe5121b
files gub/specs/darwin/odcctools.py
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/gub/specs/darwin/odcctools.py	Fri Jun 01 06:20:39 2012 -0700
+++ b/gub/specs/darwin/odcctools.py	Sat Aug 25 10:01:39 2012 +0200
@@ -20,9 +20,7 @@
             cross.change_target_package_x86 (self, self.add_linux_x86_env ())
         if 'x86_64-linux' in self.settings.build_architecture:
             self.dependencies += ['linux-x86::glibc']
-        if (self.settings.build_bits == '32'
-            and self.settings.build_hardware_bits == '64'):
-            self.configure_variables = (cross.AutoBuild.configure_variables
+        self.configure_variables = (cross.AutoBuild.configure_variables
                                         + ' CFLAGS=-D_FORTIFY_SOURCE=0')
     def autoupdate (self):
         # PROMOTEME: run aclocal if ^AM_ macros inside configure.*