Patch 3401184: Fix Gmake LDFLAGS generation order (Adam Petrone)
This commit is contained in:
parent
ac6867c35b
commit
2fef34701e
@ -29,4 +29,5 @@ Makefile
|
||||
*.bbprojectsettings
|
||||
Scratchpad.txt
|
||||
Unix Worksheet.worksheet
|
||||
project.bbprojectdata
|
||||
project.bbprojectdata
|
||||
Premake4.tmproj
|
@ -36,6 +36,7 @@
|
||||
* Patch 3372345: Gmake action's PCHs don't work with Mingw (Martin Ridgers)
|
||||
* Patch 3317329: Support vstudio CompileAs for mixed-language projects (xpol)
|
||||
* Patch 3337372: Improved precompiled header support (Anders Ericsson)
|
||||
* Patch 3401184: Fix Gmake LDFLAGS generation order (Adam Petrone)
|
||||
|
||||
|
||||
-------
|
||||
|
@ -257,7 +257,10 @@
|
||||
_p(' CPPFLAGS += %s $(DEFINES) $(INCLUDES)', table.concat(cc.getcppflags(cfg), " "))
|
||||
_p(' CFLAGS += $(CPPFLAGS) $(ARCH) %s', table.concat(table.join(cc.getcflags(cfg), cfg.buildoptions), " "))
|
||||
_p(' CXXFLAGS += $(CFLAGS) %s', table.concat(cc.getcxxflags(cfg), " "))
|
||||
_p(' LDFLAGS += %s', table.concat(table.join(cc.getldflags(cfg), cfg.linkoptions, cc.getlibdirflags(cfg)), " "))
|
||||
|
||||
-- Patch #3401184 changed the order
|
||||
_p(' LDFLAGS += %s', table.concat(table.join(cc.getlibdirflags(cfg), cc.getldflags(cfg), cfg.linkoptions), " "))
|
||||
|
||||
_p(' RESFLAGS += $(DEFINES) $(INCLUDES) %s',
|
||||
table.concat(table.join(cc.getdefines(cfg.resdefines),
|
||||
cc.getincludedirs(cfg.resincludedirs), cfg.resoptions), " "))
|
||||
|
Loading…
Reference in New Issue
Block a user