Commit Graph

126 Commits

Author SHA1 Message Date
mittorn 341e440c07 public,sprites: fix -Wcast-align, disable -Werror for it 2020-11-18 12:15:54 +03:00
Alibek Omarov 9c6183e6a0 wscript: add some more alignment related diagnostics 2020-09-29 15:42:43 +03:00
Alibek Omarov 64a96b26ad wscript: disable treating uninitialized as error because it gives too much false-positives 2020-05-13 00:24:50 +03:00
Alibek Omarov 92f0bf54f1 wscript: enforce error on uninitialized variables 2020-05-02 18:01:44 +03:00
Alibek Omarov 012a193685 wscript: check for stdint.h and use it, instead use pstdint.h 2020-03-30 00:46:58 +03:00
mittorn 7ad658ee3a wscript: increase stack size for owcc 2020-02-12 17:41:24 +07:00
mittorn 49445f0663 wscript: check for fPIC before removing 2020-02-09 01:00:45 +07:00
mittorn 9b40d91a9b wscript: do not enforce PIC with lib_static 2020-02-08 23:55:56 +07:00
mittorn 51849c6140 platform: DOS4GW port 2020-02-08 23:15:40 +07:00
mittorn bbd033c254 lib: restore dll loader support 2020-01-19 07:38:37 +07:00
mittorn 22dc5b7416 Merge branch 'lib' of https://github.com/FWGS/xash3d-fwgs 2020-01-18 07:15:45 +07:00
Alibek Omarov 32eb42a92f wscript: don't error if uninitialized(old compilers like gcc5 have bad heuristics) 2019-12-24 03:56:07 +03:00
Alibek Omarov 0fe18ae6dc engine: fix -Wmaybe-uninitialized 2019-12-24 02:47:51 +03:00
Alibek Omarov e11a08064d engine: fix implicit-fallthrough, uninitialized, enum-conversation compiler diagnostics 2019-12-23 06:48:17 +03:00
Aimless-Wanderer c57d8995c6 wscript: fix syntax
Same as https://github.com/FWGS/hlsdk-xash3d/pull/116
2019-12-10 14:32:52 +03:00
Alibek Omarov fa90dbbd5e wscript: fix sanitize build 2019-12-03 02:35:23 +03:00
Alibek Omarov fe362a1ab5 wscript: add incompatible-pointer-types only for C 2019-12-02 02:13:23 +03:00
Alibek Omarov c07109e69c engine: fix -Wincompatible-pointer-types, add it to Werror list 2019-11-28 19:18:50 +03:00
mittorn 177f8ed653 platform: introduce lib backends, add static linking, wscript: add optional projects support, add static linking support, scripts: add xshlib for advanced linking options 2019-11-18 03:31:55 +07:00
Alibek Omarov f8b0ec8c4b wscript: tune-up options for magx 2019-11-07 06:56:07 +03:00
Alibek Omarov 5bae732818 scripts: build ref_soft for magx 2019-11-07 05:15:45 +03:00
Alibek Omarov 08b3de08e7 wscript: use SINGLE_BINARY on motomagx 2019-11-07 05:07:28 +03:00
Alibek Omarov 7e4a7ac23d wscript: workaround bug when CC_VERSION is not set for msvc 2019-11-07 04:49:49 +03:00
Alibek Omarov d18cb1f74c wscript: add special options for fast build type for gcc3 2019-11-07 02:20:17 +03:00
Alibek Omarov 13ed8d4529 wscript: move motomagx options to root wscript, disable PIC for this old machine, set default options 2019-11-06 23:14:20 +03:00
Alibek Omarov 39abd82e5d wscript: silence MSVC tgmath nonsense 2019-11-05 09:41:26 +03:00
Alibek Omarov 79adaa11e0 lowmemory: merge 2019-11-05 01:15:31 +03:00
Alibek Omarov d2740f78c1 wscript: refactoring, add waf_unit_test, disable -Wdouble-promotion, rename fast as fastnative and leave fast without -march=native for x-compiling 2019-11-05 01:01:33 +03:00
mittorn b3a5283517 lowmemory: rename waf options 2019-10-28 12:31:29 +07:00
mittorn ba1347a8ce wscript: add options for low memory, async ns resolve and swap allocator 2019-10-26 12:12:59 +07:00
Alibek Omarov 8905e7cbb7 wscript: fix stdin input wasn't enabled for dedicated. Fix single-binary help string 2019-10-23 20:47:49 +03:00
Alibek Omarov 0933261898 wscript: oops, remove trailing colon 2019-10-18 16:46:54 +03:00
Alibek Omarov e93d362391 wscript: explicitly undefine HAVE_TGMATH_H if tests are failed 2019-10-18 16:46:54 +03:00
Alibek Omarov 2b13de80bf wscript: check if tgmath actually compiles, should fix building under freebsd 2019-10-18 16:46:54 +03:00
Alibek Omarov 2c67f4cb39 wscript: fix wrong object method call 2019-10-18 16:46:54 +03:00
Alibek Omarov 4705683ebc wscript: conf.define instead of directly appending to DEFINES 2019-10-18 16:46:54 +03:00
Alibek Omarov 8afb2dbdec wscript: better tgmath check, make double-promotion not an error 2019-10-18 16:46:54 +03:00
Alibek Omarov 0577ecbccf public: initial fix of double promotion 2019-10-18 16:46:54 +03:00
Alibek Omarov 869b684536 wscript: remove multicheck for win32 libs, remove sdl2 checking from main wscript 2019-10-18 06:35:05 +03:00
Alibek Omarov bc56ce754b wscript: move C only flags from common flags, correct multicheck again 2019-10-18 06:20:27 +03:00
Alibek Omarov 32897450fc wscript: declare uselib_store for multicheck 2019-10-18 05:41:56 +03:00
Alibek Omarov fdbd1c5658 wscript: check win32 libraries in parallel 2019-10-18 05:11:18 +03:00
Alibek Omarov eaf983c054 wscript: remove BIT32_ALLOW 2019-10-18 05:06:10 +03:00
Alibek Omarov 11c373a183 waf: upgrade to latest waifu 2019-10-11 07:40:40 +03:00
Alibek Omarov 7782fa09ac wscript: refactor cflags appending, add optional polyhedral optimizations 2019-10-11 04:12:07 +03:00
Alibek Omarov ae624801ac wscript: proper default showing in help 2019-10-11 03:46:17 +03:00
Alibek Omarov 8889bda261 wscript: use ConfigurationContext.define instead of appending to env['DEFINES'] 2019-10-11 03:42:20 +03:00
Alibek Omarov 39ff3b199a wscript: fix LTO check scope 2019-10-06 06:58:45 +03:00
iZarif 4c559a4a08 wscript: add --enable-lto option 2019-10-06 06:10:06 +03:00
Alibek Omarov e6dd4882cc wscript: more paranoic Werrors 2019-10-05 03:06:51 +03:00