diff --git a/Makefile.common b/Makefile.common index e7062f0c..3dc7269d 100644 --- a/Makefile.common +++ b/Makefile.common @@ -124,6 +124,8 @@ EXPORT_LDFLAGS := $(LDFLAGS) # add our coding-style related options CFLAGS += -Wall -Wstrict-prototypes -fno-common +# TODO: try not to break this rule outside of kernel +CFLAGS += -fno-strict-aliasing CXXFLAGS += -Wall LDFLAGS += -z noexecstack