diff options
author | Denis Khalikov <d.khalikov@partner.samsung.com> | 2017-04-07 15:39:44 +0300 |
---|---|---|
committer | Denis Khalikov <d.khalikov@partner.samsung.com> | 2017-04-07 15:39:44 +0300 |
commit | a55f5e5fb1160bf94f7daaf19be3fe1125ce0ba1 (patch) | |
tree | 66ab954b903e78f9e8e50c117553eb9a3fa92faf | |
parent | 2b741dd730288101ecfe68c5f2270554fd0e48f5 (diff) | |
download | binutils-sandbox/denis13/ubsan.tar.gz binutils-sandbox/denis13/ubsan.tar.bz2 binutils-sandbox/denis13/ubsan.zip |
Disable optimization for debug modesandbox/denis13/ubsan
-rw-r--r-- | packaging/binutils-aarch64.spec | 4 | ||||
-rw-r--r-- | packaging/binutils-armv7l.spec | 4 | ||||
-rw-r--r-- | packaging/binutils.spec | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/packaging/binutils-aarch64.spec b/packaging/binutils-aarch64.spec index 56dce8990be..9716507c499 100644 --- a/packaging/binutils-aarch64.spec +++ b/packaging/binutils-aarch64.spec @@ -75,8 +75,8 @@ cp %{SOURCE1001} . %build RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error %{?cross:-DIGNORE_BROKEN_PLUGINS}" -export CFLAGS="${RPM_OPT_FLAGS}" -export CXXFLAGS="${RPM_OPT_FLAGS}" +export CFLAGS="${RPM_OPT_FLAGS} -O0" +export CXXFLAGS="${RPM_OPT_FLAGS} -O0" mkdir build-dir cd build-dir diff --git a/packaging/binutils-armv7l.spec b/packaging/binutils-armv7l.spec index 4f9420216a5..42323fd7da4 100644 --- a/packaging/binutils-armv7l.spec +++ b/packaging/binutils-armv7l.spec @@ -75,8 +75,8 @@ cp %{SOURCE1001} . %build RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error %{?cross:-DIGNORE_BROKEN_PLUGINS}" -export CFLAGS="${RPM_OPT_FLAGS}" -export CXXFLAGS="${RPM_OPT_FLAGS}" +export CFLAGS="${RPM_OPT_FLAGS} -O0" +export CXXFLAGS="${RPM_OPT_FLAGS} -O0" mkdir build-dir cd build-dir diff --git a/packaging/binutils.spec b/packaging/binutils.spec index cb05a8965c5..dad000bd8e3 100644 --- a/packaging/binutils.spec +++ b/packaging/binutils.spec @@ -72,8 +72,8 @@ cp %{SOURCE1001} . %build RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error %{?cross:-DIGNORE_BROKEN_PLUGINS}" -export CFLAGS="${RPM_OPT_FLAGS}" -export CXXFLAGS="${RPM_OPT_FLAGS}" +export CFLAGS="${RPM_OPT_FLAGS} -O0" +export CXXFLAGS="${RPM_OPT_FLAGS} -O0" mkdir build-dir cd build-dir |