1
0
Commit Graph

82 Commits

Author SHA1 Message Date
peterbell10
7b3372ad38 Use target_compile_options instead of variables to add -fomit-frame-pointer to mbedtls 2017-08-24 14:03:42 +02:00
peterbell10
af1a0188ec Add link to knowledge base. 2017-08-18 11:21:45 +01:00
peterbell10
217a4b3296 SetFlags: Omit frame pointer in C arm debug builds
Fixes mbedtls build failure with inline asm.
2017-08-18 11:21:45 +01:00
Tiger Wang
b9609c3b76 Documented steps for compilation
As requested by @madmaxoft.
2016-12-12 14:32:32 +00:00
Tiger Wang
8c6d0b51c7 Use CMake's Android generators to crosscompile 2016-12-12 14:32:32 +00:00
Alexander Harkness
9e52982f0e Change CROSSCOMPILE flag to NO_NATIVE_OPTIMIZATION (#3279)
* Change CROSSCOMPILE flag to NOMARCHNATIVE.

The old name was confusing, the new name describes exactly what it does.

This fixes issue #3272

* Break configuration when using CROSSCOMPILE.

This stops any old build scripts from producing broken builds.

* Use NO_NATIVE_OPTIMIZATION rather than NOMARCHNATIVE.

Addresses @madmaxoft's concerns.
2016-07-30 14:22:18 +01:00
Mattes D
491dbda7d3 Fixed Clang warnings. 2016-01-06 16:20:12 +01:00
Mattes D
80e1eb37dd Renamed leftover strings to Cuberite / Server, as needed.
Also upgraded the user setting file for MSVC to 2013.
2016-01-01 21:05:09 +01:00
Lukas Pioch
26f4b00960 Clang-3.8: Added ignore flag for double promotion 2015-12-30 15:39:00 +01:00
tycho
91d0abae4c Working coverage build 2015-12-18 11:19:21 +01:00
worktycho
98d4695e58 Fix musl + clang 3.6 compile error 2015-11-19 21:32:13 +00:00
Tiger Wang
803c0c6965 Added the _UNICODE flag on Windows 2015-09-26 22:19:29 +01:00
Mattes D
2758756caa Fixed flags for ARM native debug build.
Also fixed indentation style to all-tabs.
2015-09-25 07:38:51 +02:00
Matti Hänninen
f4cbfcdc1e Revert Clang compiler flag that breaks OS X build 2015-08-22 22:41:14 +03:00
Tiger Wang
5751ba0c1c Use container-based infrastructure for Travis 2015-08-20 16:15:55 +01:00
Zack Piper
2a3f0de94d Fix compilation on ARMv7.Fixes #2387. 2015-07-24 18:02:03 +00:00
Cengiz Can
c967698b2d Skip unknown cflag for Apple clang & remove cSemaphore 2015-06-04 11:48:56 +03:00
tycho
d5c89eceb8 Moved shared cmake flags to the CMAKE_C_FLAGS var 2015-05-30 13:32:22 +01:00
tycho
e19693e529 Merge branch 'master' into PreventNewWarnings
Conflicts:
	src/Inventory.cpp
2015-05-28 11:05:41 +01:00
linnemannr
5049fd0fbf Support building on FreeBSD
SetFlags.cmake

	Add -lexecinfo to linker flags for FreeBSD to resolve backtrace()

lib/sqlite/CMakeLists.txt

	Define _XOPEN_SOURCE to 600 instead of __POSIX_VISIBLE to 200112 for
	POSIX 1-2001 support. For POSIX standards, the _XOPEN_SOURCE define
	controls the eventual value of __POSIX_VISIBLE. _XOPEN_SOURCE is defined
	to 500 in sqlite.c if not already defined, which sets up _POSIX_C_SOURCE
	and __POSIX_VISIBLE to the 199506 for POSIX.1c

lib/tolua++/CMakeLists.txt
src/CMakeLists.txt

	Add /usr/local/lib to the library search path for FreeBSD builds

src/OSSupport/Errors.cpp

	Correct the strerror_r() implementation determination to check whether
	_GNU_SOURCE is defined, not what it evaluates to
2015-05-24 20:07:31 -06:00
tycho
51b4584b42 Fix clang 3.6 flags to only be used in clang 3.6 2015-05-24 15:22:55 +01:00
tycho
dae9e5792a Made -Weverything an error. 2015-05-24 12:56:56 +01:00
tycho
81c0116cf1 Merge branch 'master' into PreventNewWarnings 2015-05-23 07:33:52 -07:00
Lukas Pioch
e30b2ed487 Fixed missing overrides and added a ignore flag for reserved macro for clang version 3.6 and higher. 2015-05-23 16:28:37 +02:00
tycho
7a5c1d30f8 Added pthread as a link flag. 2015-05-23 11:53:49 +01:00
tycho
77f1f58c0a Make -Werror disabling file only
Ad fix a load of warnings
2015-05-19 19:32:10 +01:00
Tiger Wang
e8e03e5df2 Update GCC on Travis 2014-11-23 14:21:44 +00:00
worktycho
c3479f7557 Fix flag name in gcc 4.6 and earlier 2014-10-09 10:07:58 +01:00
worktycho
5cf1ba092e Enabled C++11 in gcc 2014-10-09 09:53:16 +01:00
Tycho
cf69ddcce1 Cleaned up flags 2014-09-10 19:49:52 +01:00
worktycho
22b4511640 Update SetFlags.cmake 2014-09-06 18:11:42 +01:00
Tycho
562b2d1d1d Added workaround for clang version 2014-09-06 16:30:04 +01:00
Tycho
5fa206a420 bumped cmake version min and fixed clang support 2014-09-06 15:30:13 +01:00
worktycho
f7d06f093e Wrong cmake var 2014-09-06 14:55:06 +01:00
worktycho
8b5ad667d9 Improve error message 2014-09-06 14:49:40 +01:00
worktycho
f22b9aa5f4 Should now compile in clang 3.0 2014-09-06 14:38:47 +01:00
Tycho
806d0936dc First Implementatation of new Loggin framework 2014-08-10 19:34:11 +01:00
archshift
443112d70e Removed the new old-style-cast warning from error treatment
This is a new warning included in clang that ships with OS X 10.10 Yosemite.
2014-07-26 03:34:23 -07:00
archshift
431d898a81 Made redundant semi not an error, fixed one more. 2014-07-24 11:24:22 -07:00
archshift
4191be7ddb Removed redundant semicolons and re-added warning 2014-07-24 11:21:37 -07:00
archshift
6f0a538385 SetFlags.cmake: don't use ${} expansion on if STREQUAL
See http://stackoverflow.com/questions/19982340/cmake-compare-to-empty-string-with-strequal-failed
2014-07-02 21:19:09 -07:00
worktycho
fb5d88b17e Merge pull request #1129 from mc-server/CodeCoverageCondition
Moved CodeCoverage into a separate cmake condition.
2014-06-27 19:24:02 +01:00
madmaxoft
9c29afb300 CMake: pthread is used only on Unix. 2014-06-27 12:15:24 +02:00
worktycho
833d328435 Added MSVC guard 2014-06-27 11:07:03 +01:00
worktycho
9e1829e4e6 Update SetFlags.cmake 2014-06-27 10:45:43 +01:00
worktycho
62669f64de Update SetFlags.cmake 2014-06-27 10:27:02 +01:00
madmaxoft
78442edf1d CMake: Added log message for coverage. 2014-06-27 11:02:28 +02:00
madmaxoft
f68dc6210f Moved CodeCoverage into a separate cmake condition. 2014-06-27 09:24:11 +02:00
worktycho
5a9e49fbeb Fix cmake errors in msvc 2014-05-28 11:49:36 +01:00
Tycho
4ab8288116 Merge branch 'master' into chunksparsing/structs 2014-05-24 12:44:49 +01:00