diff --git a/Makefile b/Makefile index 9de32963..5870e325 100644 --- a/Makefile +++ b/Makefile @@ -148,6 +148,9 @@ endif # in case -O3 is enabled, avoid bloat ALL_CFLAGS += $(call check_gcc,-fno-inline-functions,) +# ought to file a gcc bug about this nonsense +ALL_CFLAGS += $(call check_gcc,-fno-threadsafe-statics,) + endif endif endif