[cpl-plugin-kmos] 01/01: Switch off optimization of kmos/kmo_test_create_data.c

Ole Streicher olebole-guest at alioth.debian.org
Thu Oct 17 14:07:26 UTC 2013


This is an automated email from the git hooks/post-receive script.

olebole-guest pushed a commit to branch debian
in repository cpl-plugin-kmos.

commit 8e6ed4ef22df1f08320200c7b0aa7eedef0960e7
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Thu Oct 17 16:07:19 2013 +0200

    Switch off optimization of kmos/kmo_test_create_data.c
---
 debian/patches/propagate_cflags.patch |   15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/debian/patches/propagate_cflags.patch b/debian/patches/propagate_cflags.patch
index 7977057..19cd72e 100644
--- a/debian/patches/propagate_cflags.patch
+++ b/debian/patches/propagate_cflags.patch
@@ -1,5 +1,7 @@
 Author: Ole Streicher <debian at liska.ath.cx>
-Description: Remove ESO's debugging option that overwrites (hardening) CFLAGS
+Description: Remove ESO's debugging option that overwrites (hardening) CFLAGS.
+ On i386, the creation of test data works only without optimization, so
+ we switch it off.
 --- a/configure.ac
 +++ b/configure.ac
 @@ -39,7 +39,6 @@
@@ -10,3 +12,14 @@ Description: Remove ESO's debugging option that overwrites (hardening) CFLAGS
  ESO_ENABLE_STRICT(no)
  ESO_PROG_CC_FLAG([fno-builtin], [CFLAGS="$CFLAGS -fno-builtin"])
  
+
+--- a/kmos/kmo_test_create_data.c
++++ b/kmos/kmo_test_create_data.c
+@@ -38,6 +38,7 @@
+  * $Name: kmosp_v1_2_4__20130807 $
+  */
+ 
++#pragma GCC optimize("O0")
+ #include <stdio.h>
+ #include <string.h>
+ #include <sys/stat.h>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/cpl-plugin-kmos.git



More information about the debian-science-commits mailing list