mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-07 17:29:36 +00:00
Add cflags/ldflags, SDL version to engine.log
This commit is contained in:
@@ -114,6 +114,12 @@ void CDbgLogger::Init(const char *logfile)
|
||||
#else
|
||||
fprintf(file, ">>> Engine(arch:%s) started at %s\n", GetProcessorArchName(), szTime);
|
||||
#endif
|
||||
|
||||
#ifdef GNUC
|
||||
fprintf(file, "Compiler version: %s\n", __VERSION__);
|
||||
#endif
|
||||
fprintf(file, "Compiler CFLAGS: %s\n", WAF_CFLAGS);
|
||||
fprintf(file, "Compiler LDFLAGS: %s\n", WAF_LDFLAGS);
|
||||
fflush(file);
|
||||
|
||||
for( int i = 0; i < iMsg; i++ )
|
||||
|
||||
@@ -12,6 +12,8 @@ def options(opt):
|
||||
return
|
||||
|
||||
def configure(conf):
|
||||
conf.define('WAF_CFLAGS', conf.env.CFLAGS)
|
||||
conf.define('WAF_LDFLAGS', conf.env.LINKFLAGS)
|
||||
conf.define('TIER0_DLL_EXPORT',1)
|
||||
# conf.define('NO_HOOK_MALLOC',1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user