Skip to content

Commit

Permalink
clang fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
benvanik committed Aug 1, 2015
1 parent 27944c4 commit 8494ca2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ filter("configurations:Checked")
})
flags({"Symbols"})
runtime("Debug")
filter("configurations:Checked", "platforms:Windows")
buildoptions({
"/RTCsu", -- Full Run-Time Checks.
})
Expand Down Expand Up @@ -67,7 +68,7 @@ filter("platforms:Linux")
system("linux")
toolset("clang")
buildoptions({
"-std=c++11",
"-std=c++14",
})

filter("platforms:Windows")
Expand Down
2 changes: 1 addition & 1 deletion src/xenia/ui/window.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "el/elemental_forms.h"
#include "el/io/file_manager.h"
#include "el/io/posix_file_system.h"
#include "el/io/win32_res_file_system.h"
#include "el/io/win32_res_file_system_win.h"
#include "el/message_handler.h"
#include "el/text/font_manager.h"
#include "el/util/metrics.h"
Expand Down
2 changes: 1 addition & 1 deletion xenia-build
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ class BaseBuildCommand(Command):
'make',
'-Cbuild/',
'config=%s_linux' % (args['config']),
] + pass_args, throw_on_error=False)
] + pass_args + args['target'], throw_on_error=False)
print('')
if result != 0:
print('ERROR: build failed with one or more errors.')
Expand Down

0 comments on commit 8494ca2

Please sign in to comment.