diff options
Diffstat (limited to 'makefiles')
-rw-r--r-- | makefiles/compiler.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/makefiles/compiler.mk b/makefiles/compiler.mk index 0e35547..4f93160 100644 --- a/makefiles/compiler.mk +++ b/makefiles/compiler.mk @@ -23,6 +23,7 @@ # -Wstack-protector makes no sense without SSP # everything implied by -Wall is not explicitly specified (gcc 4.2.3) # -Waggregate-return: is for K&R code and mostly useless nowadays +# -funit-at-a-time: TODO check first gcc version it appears # compilation flags and compilers COMMON_COMPILE_FLAGS = \ @@ -102,7 +103,8 @@ CCPP_COMPILE_FLAGS = \ # gcc 4.x ifeq "$(GCC_MAJOR_VERSION)" "4" CCPP_COMPILE_FLAGS += \ - -Wno-invalid-offsetof + -Wno-invalid-offsetof \ + -funit-at-a-time endif ifeq "$(GCC_MAJOR_VERSION)" "3" |