Revert "compiler: pass -l flags without space (needed for tcc)"

This reverts commit 982a162fbf.
pull/1989/head
Alexander Medvednikov 2019-09-15 03:55:56 +03:00
parent 5cc81b91cb
commit 4a43c2fa1a
1 changed files with 0 additions and 3 deletions

View File

@ -30,9 +30,6 @@ fn (v V) get_os_cflags() []CFlag {
// format flag
fn (cf &CFlag) format() string {
mut value := cf.value
if cf.name == '-l' && value.len>0 {
return '${cf.name}${value}'.trim_space()
}
// convert to absolute path
if cf.name == '-I' || cf.name == '-L' || value.ends_with('.o') {
value = '"'+os.realpath(value)+'"'