From d6370fb012272e495730fc2088bc9f5358b0590b Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Mon, 17 Nov 2008 21:29:17 +0100 Subject: can compile pqsql examples on Arch, still problems with curlpp --- makefiles/compiler.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'makefiles') 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" -- cgit v1.2.3-54-g00ecf