ignore TARGET environment variable (Makefiles tend to set that and confuse cparser)
authorMatthias Braun <matthias.braun@kit.edu>
Wed, 29 Feb 2012 13:16:04 +0000 (14:16 +0100)
committerMatthias Braun <matthias.braun@kit.edu>
Wed, 29 Feb 2012 13:16:04 +0000 (14:16 +0100)
main.c

diff --git a/main.c b/main.c
index 61566a4..04a6eac 100644 (file)
--- a/main.c
+++ b/main.c
@@ -1113,9 +1113,6 @@ int main(int argc, char **argv)
                }
        }
 
-       const char *target = getenv("TARGET");
-       if (target != NULL)
-               parse_target_triple(target);
        if (target_machine == NULL) {
                target_machine = firm_get_host_machine();
        }