diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2008-11-17 21:29:17 +0100 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2008-11-17 21:29:17 +0100 |
commit | d6370fb012272e495730fc2088bc9f5358b0590b (patch) | |
tree | 57fabd9cdcdac18d6e44991a0ffbee5f02c2e981 /makefiles | |
parent | b75e7d0831ce43c4585035f1d882125586204c0c (diff) | |
download | crawler-d6370fb012272e495730fc2088bc9f5358b0590b.tar.gz crawler-d6370fb012272e495730fc2088bc9f5358b0590b.tar.bz2 |
can compile pqsql examples on Arch, still problems with curlpp
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" |