summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/gcc-aarch64.spec2
-rw-r--r--packaging/gcc-armv7l.spec2
-rw-r--r--packaging/linaro-gcc.spec2
3 files changed, 3 insertions, 3 deletions
diff --git a/packaging/gcc-aarch64.spec b/packaging/gcc-aarch64.spec
index 668826f0673..d1f693a93d6 100644
--- a/packaging/gcc-aarch64.spec
+++ b/packaging/gcc-aarch64.spec
@@ -616,7 +616,7 @@ Scripts for UBSan instrumentation
%post -n ubsan-force-options
# Change mode to allow all users to run gcc-force/unforce-options
chmod a+w /usr/bin
-/usr/bin/gcc-force-options -fsanitize=undefined,bounds-strict,float-divide-by-zero,float-cast-overflow
+/usr/bin/gcc-force-options -fsanitize=unsigned-integer-overflow
%preun -n ubsan-force-options
# Restore read-only mode
diff --git a/packaging/gcc-armv7l.spec b/packaging/gcc-armv7l.spec
index 99bff3ac991..42d58988503 100644
--- a/packaging/gcc-armv7l.spec
+++ b/packaging/gcc-armv7l.spec
@@ -616,7 +616,7 @@ Scripts for UBSan instrumentation
%post -n ubsan-force-options
# Change mode to allow all users to run gcc-force/unforce-options
chmod a+w /usr/bin
-/usr/bin/gcc-force-options -fsanitize=undefined,bounds-strict,float-divide-by-zero,float-cast-overflow
+/usr/bin/gcc-force-options -fsanitize=unsigned-integer-overflow
%preun -n ubsan-force-options
# Restore read-only mode
diff --git a/packaging/linaro-gcc.spec b/packaging/linaro-gcc.spec
index 52ea6c17d91..6f96709e248 100644
--- a/packaging/linaro-gcc.spec
+++ b/packaging/linaro-gcc.spec
@@ -613,7 +613,7 @@ Scripts for UBSan instrumentation
%post -n ubsan-force-options
# Change mode to allow all users to run gcc-force/unforce-options
chmod a+w /usr/bin
-/usr/bin/gcc-force-options -fsanitize=undefined,bounds-strict,float-divide-by-zero,float-cast-overflow
+/usr/bin/gcc-force-options -fsanitize=unsigned-integer-overflow
%preun -n ubsan-force-options
# Restore read-only mode