@@ -51,8 +51,10 @@
#include "as_tokendef.h"
#include "as_context.h"
-// Urho3D: work around Clang crash and error on old GCC
-#if defined(__clang__) || (__GNUC__ == 4 && __GNUC_MINOR__ < 7) || __GNUC__ < 4
+// Urho3D: work around Clang crash and assembler error on GCC
+// Because Urho3D's AngelScript API convention forbids C++ exceptions leaking to syscalls,
+// the lack of prologs / epilogs should not be critical
+#if defined(__clang__) || defined(__GNUC__)
#undef __OPTIMIZE__
#endif