diff options
Diffstat (limited to 'recipes-core/icedtea')
-rw-r--r-- | recipes-core/icedtea/icedtea7-native.inc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/recipes-core/icedtea/icedtea7-native.inc b/recipes-core/icedtea/icedtea7-native.inc index 0f317bb..d6f8fd7 100644 --- a/recipes-core/icedtea/icedtea7-native.inc +++ b/recipes-core/icedtea/icedtea7-native.inc | |||
@@ -21,9 +21,8 @@ CFLAGS:append = "${@bb.utils.contains('PACKAGECONFIG', 'x11', '', ' -DHEADLESS=t | |||
21 | # Disable dead store elimination and set C++ standard to C++98. | 21 | # Disable dead store elimination and set C++ standard to C++98. |
22 | # There are dead stores in the JVM that would be pretty hard to | 22 | # There are dead stores in the JVM that would be pretty hard to |
23 | # remove, so disable the optimisation in the compiler. | 23 | # remove, so disable the optimisation in the compiler. |
24 | CFLAGS:append = " -fno-tree-dse" | 24 | CFLAGS:append = " -std=gnu++98 -fno-tree-dse -fno-tree-vectorize" |
25 | CXXFLAGS:append = " -fno-tree-dse" | 25 | CXXFLAGS:append = " -std=gnu++98 -fno-tree-dse" |
26 | CXX:append = " -std=gnu++98" | ||
27 | 26 | ||
28 | # WORKAROUND: ignore errors from new compilers | 27 | # WORKAROUND: ignore errors from new compilers |
29 | CFLAGS:append = " -Wno-error=stringop-overflow -Wno-error=return-type" | 28 | CFLAGS:append = " -Wno-error=stringop-overflow -Wno-error=return-type" |