mirror of
https://github.com/danog/gllvm.git
synced 2024-11-26 22:24:42 +01:00
cmd parser additions from curl.
This commit is contained in:
parent
c6e185927d
commit
ee940a6a22
@ -46,7 +46,7 @@ package shared
|
|||||||
|
|
||||||
//
|
//
|
||||||
const gllvmVersion = "1.2.1"
|
const gllvmVersion = "1.2.1"
|
||||||
const gllvmReleaseDate = "May 13 2018"
|
const gllvmReleaseDate = "May 23 2018"
|
||||||
|
|
||||||
const osDARWIN = "darwin"
|
const osDARWIN = "darwin"
|
||||||
const osLINUX = "linux"
|
const osLINUX = "linux"
|
||||||
|
@ -241,6 +241,7 @@ func parse(argList []string) parserResult {
|
|||||||
"-print-multi-directory": {0, pr.compileUnaryCallback},
|
"-print-multi-directory": {0, pr.compileUnaryCallback},
|
||||||
"-print-multi-lib": {0, pr.compileUnaryCallback},
|
"-print-multi-lib": {0, pr.compileUnaryCallback},
|
||||||
"-print-libgcc-file-name": {0, pr.compileUnaryCallback},
|
"-print-libgcc-file-name": {0, pr.compileUnaryCallback},
|
||||||
|
"-print-search-dirs": {0, pr.compileUnaryCallback},
|
||||||
|
|
||||||
"-fprofile-arcs": {0, pr.compileLinkUnaryCallback},
|
"-fprofile-arcs": {0, pr.compileLinkUnaryCallback},
|
||||||
"-coverage": {0, pr.compileLinkUnaryCallback},
|
"-coverage": {0, pr.compileLinkUnaryCallback},
|
||||||
@ -272,6 +273,7 @@ func parse(argList []string) parserResult {
|
|||||||
`^--sysroot=.+$`: {0, pr.compileUnaryCallback},
|
`^--sysroot=.+$`: {0, pr.compileUnaryCallback},
|
||||||
`^-print-prog-name=.*$`: {0, pr.compileUnaryCallback},
|
`^-print-prog-name=.*$`: {0, pr.compileUnaryCallback},
|
||||||
`^-print-file-name=.*$`: {0, pr.compileUnaryCallback},
|
`^-print-file-name=.*$`: {0, pr.compileUnaryCallback},
|
||||||
|
`^-mmacosx-version-min=.+$`: {0, pr.compileLinkUnaryCallback},
|
||||||
`^-mstack-alignment=.+$`: {0, pr.compileUnaryCallback}, //iam: linux kernel stuff
|
`^-mstack-alignment=.+$`: {0, pr.compileUnaryCallback}, //iam: linux kernel stuff
|
||||||
`^-march=.+$`: {0, pr.compileUnaryCallback}, //iam: linux kernel stuff
|
`^-march=.+$`: {0, pr.compileUnaryCallback}, //iam: linux kernel stuff
|
||||||
`^-mregparm=.+$`: {0, pr.compileUnaryCallback}, //iam: linux kernel stuff
|
`^-mregparm=.+$`: {0, pr.compileUnaryCallback}, //iam: linux kernel stuff
|
||||||
|
Loading…
Reference in New Issue
Block a user