diff options
author | Chris Johns <chrisj@rtems.org> | 2014-09-01 13:26:47 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2014-09-01 13:26:47 +1000 |
commit | 8c841a582f45d8a6cc1b3c439d4f660099e34d1b (patch) | |
tree | 6d5099a2bc67b72cbb43c0b3c3af0e8db39ce2cf /rtems-tld.cpp | |
parent | 02ccf12ec62e7894786b6fff059f92fdcd7acaa1 (diff) |
rld: Split the file into a path module for path specific functions.
This allows resued for other parts of the system not dependent on
objcet files or archives.
Diffstat (limited to 'rtems-tld.cpp')
-rw-r--r-- | rtems-tld.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/rtems-tld.cpp b/rtems-tld.cpp index d206da7..2ab292a 100644 --- a/rtems-tld.cpp +++ b/rtems-tld.cpp @@ -755,8 +755,7 @@ usage (int exit_code) << " -w : generate warnings (also --warn)" << std::endl << " -k : keep temporary files (also --keep)" << std::endl << " -E prefix : the RTEMS tool prefix (also --exec-prefix)" << std::endl - << " -a march : machine architecture (also --march)" << std::endl - << " -c cpu : machine architecture's CPU (also --mcpu)" << std::endl + << " -c cflags : C compiler flags (also --cflags)" << std::endl << " -C ini : user configuration INI file (also --config)" << std::endl; ::exit (exit_code); } @@ -815,7 +814,7 @@ main (int argc, char* argv[]) while (true) { - int opt = ::getopt_long (argc, argv, "hvwkVE:a:c:C:", rld_opts, NULL); + int opt = ::getopt_long (argc, argv, "hvwkVE:c:C:", rld_opts, NULL); if (opt < 0) break; @@ -846,12 +845,8 @@ main (int argc, char* argv[]) rld::cc::exec_prefix = optarg; break; - case 'a': - rld::cc::march = optarg; - break; - case 'c': - rld::cc::mcpu = optarg; + rld::cc::cflags = optarg; break; case 'C': |