summaryrefslogtreecommitdiff
path: root/bcc/bcc.c
diff options
context:
space:
mode:
Diffstat (limited to 'bcc/bcc.c')
-rw-r--r--bcc/bcc.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/bcc/bcc.c b/bcc/bcc.c
index 9f7474d..4dc16b1 100644
--- a/bcc/bcc.c
+++ b/bcc/bcc.c
@@ -45,7 +45,7 @@
#define EXESUF
#endif
-#ifdef __minix
+#if defined(__minix) || defined(_AIX)
#define realpath(x,y) 0
#endif
@@ -531,10 +531,14 @@ char **argv;
addarg(&cppargs, "-D__linux__");
addarg(&ldargs, "-N"); /* Make OMAGIC */
break;
+ case 0:
+ break;
+ default:
+ fatal("Fatal error: illegal -M option given");
}
#endif
-if( !aswarn )
+ if( !aswarn )
addarg(&asargs, "-w");
if( patch_exe )
addarg(&ldargs, "-s");