Previous 199869 Revisions Next

r36683 Thursday 26th March, 2015 at 14:49:06 UTC by Miodrag Milanović
Added CXX and fixed LD [qmc2] (nw)
[/trunk]makefile
[scripts]genie.lua toolchain.lua

trunk/makefile
r245194r245195
2121ifdef CC
2222PARAMS+= --CC='$(CC)'
2323endif
24ifdef CXX
25PARAMS+= --CXX='$(CXX)'
26endif
2427ifdef LD
2528PARAMS+= --LD='$(LD)'
2629endif
trunk/scripts/genie.lua
r245194r245195
110110}
111111
112112newoption {
113   trigger = "CXX",
114   description = "CXX replacement",
115}
116
117newoption {
113118   trigger = "LD",
114119   description = "LD replacement",
115120}
trunk/scripts/toolchain.lua
r245194r245195
333333   if (_OPTIONS["CC"] ~= nil) then
334334      premake.gcc.cc  = _OPTIONS["CC"]
335335   end
336   if (_OPTIONS["CXX"] ~= nil) then
337      premake.gcc.cxx  = _OPTIONS["CXX"]
338   end   
336339   if (_OPTIONS["LD"] ~= nil) then
337      premake.gcc.cxx  = _OPTIONS["LD"]
340      premake.gcc.ld  = _OPTIONS["LD"]
338341   end   
339342   
340343   configuration {} -- reset configuration


Previous 199869 Revisions Next


© 1997-2024 The MAME Team