Commit Graph

53 Commits

Author SHA1 Message Date
Ben Marsh
f1d8b60d57 Add symbol stripping at the IUEToolChain level. Implemented for Windows, Linux, Android arm7.
#codereview Dmitry.Rekman, Chris.Babcock

[CL 2527125 by Ben Marsh in Main branch]
2015-04-27 12:53:24 -04:00
Dmitry Rekman
cf13523ccd Linux: suppress '-W-inconsistent-missing-override' warning for 4.8
[CL 2521581 by Dmitry Rekman in Main branch]
2015-04-22 15:40:07 -04:00
Marc Audy
5eba946116 Allow -Wshadow to be enabled via build configuration
[CL 2520977 by Marc Audy in Main branch]
2015-04-22 09:58:49 -04:00
Dmitry Rekman
93e0abe8d4 Move LinuxNativeDialogs to a more appropriate location.
- Build script corrected.
- Unfortunately, yet another hardcoded rpath.

#codereview Ben.Marsh

[CL 2519366 by Dmitry Rekman in Main branch]
2015-04-21 11:51:45 -04:00
Dmitry Rekman
7191e4f9bd Linux: gcc-like compiler output when not cross-compiling.
- Cross-compiling is unaffected (warnings/etc are clickable in MSVC), but this makes errors/warnings clickable in IDEs that expect gcc-like format.

[CL 2505572 by Dmitry Rekman in Main branch]
2015-04-08 14:51:57 -04:00
Dmitry Rekman
9408a83973 Linux: exempt some warnings from -Werror.
- After discussion with Core/Platform teams, it was determined that these warnings [would] affect build failure rate too much.
- We do not want to suppress them altogether though and they are going to be fixed as time and resources permit.

#codereview Josh.Adams, Michael.Trepka, Chris.Babcock, Marcus.Wassmer, Ankit.Khare

[CL 2488268 by Dmitry Rekman in Main branch]
2015-03-23 16:01:17 -04:00
Dmitry Rekman
0767242767 Switch UBT to use clang 3.6.0 Linux cross-toolchain.
-  -Wno-inconsistent-missing-override suppressed, pending discussion with the Core team.

#codereview Steve.Robb, Robert.Manuszewski, Josh.Adams

[CL 2487976 by Dmitry Rekman in Main branch]
2015-03-23 13:07:46 -04:00
Ben Marsh
9c39abe349 Remove symbol stripping for Rocket from UBT. Will strip inside build process instead.
[CL 2486710 by Ben Marsh in Main branch]
2015-03-20 16:23:30 -04:00
Dmitry Rekman
c313b56549 Linux: do not inhibit optimizations in Development and higher configurations.
- bCreateDebugInfo is pretty much true all the time.

[CL 2473973 by Dmitry Rekman in Main branch]
2015-03-10 13:00:25 -04:00
Dmitry Rekman
fdadddf146 Linux: do not use initial-exec TLS model in dynamic libraries.
- Fixes editor problems on Ubuntu 14.04.1 and lower.
- Monolithic games/servers are unaffected.

[CL 2473347 by Dmitry Rekman in Main branch]
2015-03-09 23:52:38 -04:00
Peter Sauerbrei
b15dcef009 fixes for building Linux when the SDK path has a space in it
#codereview dmitry.rekman

[CL 2464358 by Peter Sauerbrei in Main branch]
2015-02-27 14:38:49 -05:00
Matthew Griffin
656a64832c [INTEGRATE] Change 2442289 by Ben.Marsh@Ben.Marsh_Z3237 on 2015/02/11 16:26:04
Strip linux executables in Rocket. Saves ~400mb from install footprint.

	#codereview Dmitry.Rekman

[CL 2448748 by Matthew Griffin in Main branch]
2015-02-17 10:43:09 -05:00
John Abercrombie
4e9ac6444a Merging using UE4-Fortnite-To-UE4 @ CL 2382284
[CL 2388856 by John Abercrombie in Main branch]
2014-12-15 15:29:48 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Peter Sauerbrei
7cf86529e2 addition of build settings to ini files
part of UEPLAT-114
#ue4

[CL 2374039 by Peter Sauerbrei in Main branch]
2014-12-02 14:58:59 -05:00
Dmitry Rekman
25ae3f7f73 Enable one more (rather crucial) warning for native builds too.
[CL 2362987 by Dmitry Rekman in Main branch]
2014-11-17 23:40:09 -05:00
Dmitry Rekman
8ab3e0ca13 Enable more warnings and fix errors/problems caught by them.
#codereview Michael.Noland
- PaperSprite

#codereview Kevin.Hamilton
- EditorBuildPromotionTests

#codereview David.Ratti
- AttributeDetails

#codereview Saul.Abreu
- RepairLocData

#codereview Maciej.Mroz
- K2Node

[CL 2362839 by Dmitry Rekman in Main branch]
2014-11-17 20:20:08 -05:00
Dmitry Rekman
7fa6e51578 Make UBT look for a few more clang versions (UE-5508).
- Helps on Ubuntu 14.10 and newer Debian that switched to co-installable clang.

[CL 2361441 by Dmitry Rekman in Main branch]
2014-11-15 19:55:14 -05:00
Dmitry Rekman
0dc3ccd3e0 Linux: support compiling for other architectures than x86_64.
[CL 2345608 by Dmitry Rekman in Main branch]
2014-10-30 19:44:12 -04:00
Dmitry Rekman
45ed24286b Fix linking to libraries located in path with spaces.
- PR #551 contributed by amigo.
- Fixes a quite common case of a project with plugins being located in "Unreal Projects" directory.
- UE-4651

[CL 2343090 by Dmitry Rekman in Main branch]
2014-10-28 20:44:29 -04:00
Dmitry Rekman
9fcf3ff7d6 Prevent compilation attempts that are known to fail.
- No clang 3.4.x nor gcc on Linux.

[CL 2339031 by Dmitry Rekman in Main branch]
2014-10-23 16:21:44 -04:00
Dmitry Rekman
9b249a3480 Linux: clean up and fix rpaths.
- Removed old rpaths for libs which we now link statically.
- Added rpath useful for target platform modules and other fixes from PR #442.

[CL 2314947 by Dmitry Rekman in Main branch]
2014-09-30 17:04:15 -04:00
Dmitry Rekman
6f2fe48268 Reduce optimization level for Linux builds (TTP #347022).
- clang 3.5.0 (and Ubuntu's 3.5-trunk) seems to miscompile PlatformerGame (bControlsLocked bitfield becomes true for some reason, doesn't happen with -O2 and -O0).
- fixes TTP #347022.

[CL 2312439 by Dmitry Rekman in Main branch]
2014-09-28 23:27:35 -04:00
Dmitry Rekman
713fce30f5 UBT: Proper dependencies for modular builds + fix Linux cross-build.
[CL 2300046 by Dmitry Rekman in Main branch]
2014-09-16 16:32:04 -04:00
Dmitry Rekman
3ab3dfb704 Fix crashes on broken/old toolchains.
- UBT was invoking non-existent compiler to determine its version.
- Happened during AutoSDK switch as well.

[CL 2295597 by Dmitry Rekman in Main branch]
2014-09-12 17:06:44 -04:00