mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-04-22 06:02:06 +02:00
the -static flag is meant for the linker not the compiler
This commit is contained in:
parent
353dd4f4c5
commit
1e69939238
1 changed files with 0 additions and 2 deletions
|
@ -227,8 +227,6 @@ local function cmake_build(dep_folder, is_32, extra_cmd_defs, c_flags_init, cxx_
|
||||||
table.insert(all_cxxflags_init, '-m32')
|
table.insert(all_cxxflags_init, '-m32')
|
||||||
end
|
end
|
||||||
if os.target() == 'windows' then -- MinGW on Windows
|
if os.target() == 'windows' then -- MinGW on Windows
|
||||||
table.insert(all_cflags_init, '-static')
|
|
||||||
table.insert(all_cxxflags_init, '-static')
|
|
||||||
-- from docs: "specifies that the typical Microsoft Windows predefined macros are to be set in the pre-processor,
|
-- from docs: "specifies that the typical Microsoft Windows predefined macros are to be set in the pre-processor,
|
||||||
-- but does not influence the choice of runtime library/startup code"
|
-- but does not influence the choice of runtime library/startup code"
|
||||||
-- optional really
|
-- optional really
|
||||||
|
|
Loading…
Add table
Reference in a new issue