ref: 1f979324794c81c3e8587b27c6124c640be9f9d5
parent: 4fb00e671f84192b77bbca4c095b5c5cdf755e31
author: Ori Bernstein <[email protected]>
date: Mon Mar 10 07:44:03 EDT 2014
Actually enable assembly generation.
--- a/myrbuild/myrbuild.c
+++ b/myrbuild/myrbuild.c
@@ -55,6 +55,7 @@
printf("\t-l lib\tBuild a library called 'name'\n");
printf("\t-s script\tUse the linker script 'script' when linking\n");
printf("\t-I path\tAdd 'path' to use search path\n");
+ printf("\t-S\tGenerate assembly files for all compiled code\n");
}
int hassuffix(char *path, char *suffix)
@@ -452,7 +453,7 @@
if (uname(&name) == 0)
sysname = strdup(name.sysname);
- while ((opt = getopt(argc, argv, "hb:l:s:I:C:A:M:L:R:")) != -1) {
+ while ((opt = getopt(argc, argv, "hb:l:s:SI:C:A:M:L:R:")) != -1) {
switch (opt) {
case 'b': binname = optarg; break;
case 'l': libname = optarg; break;