| 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 |
| r245194 | r245195 | |
|---|---|---|
| 21 | 21 | ifdef CC |
| 22 | 22 | PARAMS+= --CC='$(CC)' |
| 23 | 23 | endif |
| 24 | ifdef CXX | |
| 25 | PARAMS+= --CXX='$(CXX)' | |
| 26 | endif | |
| 24 | 27 | ifdef LD |
| 25 | 28 | PARAMS+= --LD='$(LD)' |
| 26 | 29 | endif |
| r245194 | r245195 | |
|---|---|---|
| 110 | 110 | } |
| 111 | 111 | |
| 112 | 112 | newoption { |
| 113 | trigger = "CXX", | |
| 114 | description = "CXX replacement", | |
| 115 | } | |
| 116 | ||
| 117 | newoption { | |
| 113 | 118 | trigger = "LD", |
| 114 | 119 | description = "LD replacement", |
| 115 | 120 | } |
| r245194 | r245195 | |
|---|---|---|
| 333 | 333 | if (_OPTIONS["CC"] ~= nil) then |
| 334 | 334 | premake.gcc.cc = _OPTIONS["CC"] |
| 335 | 335 | end |
| 336 | if (_OPTIONS["CXX"] ~= nil) then | |
| 337 | premake.gcc.cxx = _OPTIONS["CXX"] | |
| 338 | end | |
| 336 | 339 | if (_OPTIONS["LD"] ~= nil) then |
| 337 | premake.gcc. | |
| 340 | premake.gcc.ld = _OPTIONS["LD"] | |
| 338 | 341 | end |
| 339 | 342 | |
| 340 | 343 | configuration {} -- reset configuration |
| https://github.com/mamedev/mame/commit/604d83b1e32c162f86028c8b22de52bdb0be64b3 |
| Previous | 199869 Revisions | Next |