2019-04-08 08:39:26 +00:00
|
|
|
Author: Bernhard M. Wiedemann <bwiedemann suse de>
|
|
|
|
|
Date: 2019-04-08
|
|
|
|
|
|
|
|
|
|
This bug was found while working on reproducible builds for openSUSE.
|
|
|
|
|
|
|
|
|
|
Without this patch, binaries would use SSE4.1 instructions if the build
|
|
|
|
|
machine's CPU had it available.
|
|
|
|
|
This could cause 'invalid instruction' faults on older user machines.
|
|
|
|
|
|
|
|
|
|
https://bugzilla.opensuse.org/show_bug.cgi?id=1100677
|
|
|
|
|
|
2022-03-09 06:00:09 +00:00
|
|
|
Index: autobahn-22.2.2/autobahn/nvx/_utf8validator.py
|
2019-04-08 08:39:26 +00:00
|
|
|
===================================================================
|
2022-03-09 06:00:09 +00:00
|
|
|
--- autobahn-22.2.2.orig/autobahn/nvx/_utf8validator.py
|
|
|
|
|
+++ autobahn-22.2.2/autobahn/nvx/_utf8validator.py
|
|
|
|
|
@@ -54,7 +54,7 @@ with open(os.path.join(os.path.dirname(_
|
2019-04-08 08:39:26 +00:00
|
|
|
"_nvx_utf8validator",
|
|
|
|
|
c_source,
|
|
|
|
|
libraries=[],
|
2022-03-09 06:00:09 +00:00
|
|
|
- extra_compile_args=['-std=c99', '-Wall', '-Wno-strict-prototypes', '-O3', '-march=native'],
|
|
|
|
|
+ extra_compile_args=['-std=c99', '-Wall', '-Wno-strict-prototypes'],
|
|
|
|
|
optional=optional
|
2019-04-08 08:39:26 +00:00
|
|
|
)
|
|
|
|
|
|