Commit Graph

72 Commits

Author SHA1 Message Date
6af493ba46 build: disable LTO for MinGW
Avoids a probably compiler error whereby LTO static libraries cannot be
linked to applications.
2014-12-10 13:53:13 +11:00
de353c9297 build: switch from LT libraries to pure static
We only ever supported static libraries, and this greatly simplifies
argument management compiling/linking for MinGW
2014-12-10 13:51:54 +11:00
189d1f7363 build: dont redundant SUBST pkg-config variables 2014-12-05 13:18:16 +11:00
82ae659fb5 build: remove allow-multiple-definition flag
Silently ignoring multiple definitions hides linking issues under
Windows in particular (eg, linking to multiple runtimes).

We don't seem to be hitting the boost bug which triggered this anymore.
2014-12-05 13:14:48 +11:00
7278eff60a build: explicitly enable leak checking 2014-10-21 19:38:40 +11:00
b297f168f7 build: add rdynamic to linking options for debug
rdynamic should allow us to get better backtrace data
2014-09-17 18:19:55 +10:00
9bd80ab85c test: remove indirect script for json.test 2014-09-03 18:35:28 +10:00
26ee9b608b build: set appropriate LTO options 2014-08-12 15:59:00 +10:00
62f11a87dc build: remove overly verbose warnings 2014-08-01 21:39:45 +10:00
226500cb83 test: hack to make json.test executable 2014-08-01 21:37:04 +10:00
4ea033c5a3 build: disable warnings problematic for gcc 2014-07-23 15:53:38 +10:00
b18353f546 build: disable some warnings under clang 2014-07-15 19:43:17 +10:00
39caa4c365 build: add 'undefined' sanitizer for debug 2014-07-07 15:21:17 +10:00
5da7b87c4a build: typo in optimisation flag 2014-07-02 15:36:11 +10:00
9abc288532 build: add more warning flags 2014-07-02 15:35:59 +10:00
aa52f440bc test: use absolute paths for json.test 2014-05-26 17:34:23 +10:00
228421d974 test: run all checks through the TAP driver
This will allow more natural checking of hashes and json as they expand.
2014-05-23 17:11:28 +10:00
77ea57f530 remove mudflap support
mudflap is deprecated/removed in newer versions of gcc
2014-05-09 13:00:35 +10:00
a24cdd0848 Add Werr to compile flag checks
clang will accept with warnings an unknown warning flag, so autotools
will think it accepts everything. cleans up a lot of clang warning
messages.
2014-05-09 12:58:57 +10:00
7849001750 Add address sanitizer option 2013-09-18 13:42:35 +10:00
ca681e6ca7 Whitespace consistency 2013-08-05 16:45:25 +10:00
9d9fe9507c Correct typo in append for Wshadow 2013-08-05 16:35:05 +10:00
cca9efdc5d Fix typo in boost_filesystem detection 2013-07-30 16:26:11 +10:00
59b7127f44 Fix boost detection in configure 2013-07-30 16:17:47 +10:00
a5afdfab99 configure.ac cleanup, move to ax_append_*_flags 2013-07-30 01:44:28 +10:00
6e71e8674d Add trivial zlib wrapper 2013-07-13 15:28:29 +10:00
6e611b51be Remove FORTIFY_SOURCE from define lists
FORTIFY_SOURCE is pre-defined on newer GCC anyway, and it was never
particularly important anyway.
2013-07-13 14:44:26 +10:00
e5e46d3d14 Move build files to build-aux directory 2013-02-27 15:11:51 +11:00
a64df2677c Fix compilation warnings 2013-02-27 15:11:05 +11:00
c8e0086ce0 Add internal implementation of strndup 2013-02-26 17:50:56 +11:00
2993d27ea8 Test for windows headers to enable the win32 build 2012-08-07 18:33:44 +10:00
63c995bbf0 Run ragel detection on actual ragel input 2012-07-30 16:33:55 +10:00
bdfc00171e Use 'none' partition with LTO 2012-06-18 16:12:09 +10:00
5b7dadf815 Add check for no-deduce-init-lists 2012-06-13 16:01:42 +10:00
a9453c02ea Add commented out reminder for -Wzero-as-null 2012-05-26 17:58:36 +10:00
bcab28826c Move noise functions into their own directory 2012-05-23 17:01:30 +10:00
a195f47bdf Add -fno-deduce-init-list for template constructor
When using variadic template constructors which forward their arguments
to base classes we tend to get a lot of warnings about auto deduction of
initializer_list types from aggregate initialiser syntax. As this is
apparently expected to be removed from the standard we'll hide the
warnings this way.
2012-05-18 17:53:23 +10:00
700245b5bf Use jobserver if available for flto 2012-05-17 14:38:13 +10:00
9b8419bd8d Bump the required boost version to 1.49 2012-05-17 14:15:47 +10:00
c6a3831840 Enable flto and generic tuning optimisations 2012-05-15 16:07:03 +10:00
b670c76995 Temporarily disable features unsupported by i686-pc-mingw 2012-05-15 16:06:18 +10:00
6193ffd407 Put debugging defines in config.h 2012-05-14 16:10:11 +10:00
9624aff9df Add host specific debug information 2012-05-10 16:56:25 +10:00
cc9a157e9c Add arch specific optimisation flags 2012-05-10 16:55:38 +10:00
ac5a5d3a7d Initial framework for win32 backtrace 2012-05-10 16:54:47 +10:00
88c86a40a7 Remove wunsafe-loop-optimisations. False positives 2012-05-08 16:37:03 +10:00
6a4f6c7d8b Add empty host_os switch for platform config 2012-05-08 15:00:48 +10:00
b7b47ed27e Define ENABLE_DEBUGGING when specified 2012-05-03 18:10:15 +10:00
a26dcd1444 Set a blank CXXFLAGS only if not already present 2012-04-27 17:54:26 +10:00
82f90f3f6c Enable silent automake build rules by default 2012-04-24 13:00:31 +10:00