]> git.gag.com Git - fw/sdcc/commitdiff
add quotes to file name parameters for gplink and gpasm
authorborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 11 May 2003 13:10:03 +0000 (13:10 +0000)
committerborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 11 May 2003 13:10:03 +0000 (13:10 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2609 4a8a32a2-be11-0410-ad9d-d568d2c75423

src/pic/main.c

index 486a4b819e897f2c3feb4a882eee05f0536827b0..7b91caa291b148b86c24755e21b51291b339ae9c 100644 (file)
@@ -327,12 +327,12 @@ _hasNativeMulFor (iCode *ic, sym_link *left, sym_link *right)
 */
 static const char *_linkCmd[] =
 {
-  "gplink", "-nf", "$1", NULL
+  "gplink", "-nf", "\"$1\"", NULL
 };
 
 static const char *_asmCmd[] =
 {
-  "gpasm", "-c", "$1.asm", NULL
+  "gpasm", "-c", "\"$1.asm\"", NULL
 
 };