| ... | @@ -54,11 +54,11 @@ static int print_full_usage(const char *arg0, FILE *file, int return_code) { | ... | @@ -54,11 +54,11 @@ static int print_full_usage(const char *arg0, FILE *file, int return_code) { |
| 54 | " --cache [auto|off|on] build in cache, print output path to stdout\n" | 54 | " --cache [auto|off|on] build in cache, print output path to stdout\n" |
| 55 | " --color [auto|off|on] enable or disable colored error messages\n" | 55 | " --color [auto|off|on] enable or disable colored error messages\n" |
| 56 | " --disable-gen-h do not generate a C header file (.h)\n" | 56 | " --disable-gen-h do not generate a C header file (.h)\n" |
| 57 | " --disable-pic disable Position Independent Code\n" | | |
| 58 | " --enable-pic enable Position Independent Code\n" | | |
| 59 | " --disable-valgrind omit valgrind client requests in debug builds\n" | 57 | " --disable-valgrind omit valgrind client requests in debug builds\n" |
| 60 | " --enable-valgrind include valgrind client requests release builds\n" | 58 | " --enable-valgrind include valgrind client requests release builds\n" |
| 61 | " --emit [asm|bin|llvm-ir] emit a specific file format as compilation output\n" | 59 | " --emit [asm|bin|llvm-ir] emit a specific file format as compilation output\n" |
| | 60 | " -fPIC enable Position Independent Code\n" |
| | 61 | " -fno-PIC disable Position Independent Code\n" |
| 62 | " -ftime-report print timing diagnostics\n" | 62 | " -ftime-report print timing diagnostics\n" |
| 63 | " --libc [file] Provide a file which specifies libc paths\n" | 63 | " --libc [file] Provide a file which specifies libc paths\n" |
| 64 | " --name [name] override output name\n" | 64 | " --name [name] override output name\n" |
| ... | @@ -642,9 +642,9 @@ int main(int argc, char **argv) { | ... | @@ -642,9 +642,9 @@ int main(int argc, char **argv) { |
| 642 | valgrind_support = ValgrindSupportEnabled; | 642 | valgrind_support = ValgrindSupportEnabled; |
| 643 | } else if (strcmp(arg, "--disable-valgrind") == 0) { | 643 | } else if (strcmp(arg, "--disable-valgrind") == 0) { |
| 644 | valgrind_support = ValgrindSupportDisabled; | 644 | valgrind_support = ValgrindSupportDisabled; |
| 645 | } else if (strcmp(arg, "--enable-pic") == 0) { | 645 | } else if (strcmp(arg, "-fPIC") == 0) { |
| 646 | want_pic = WantPICEnabled; | 646 | want_pic = WantPICEnabled; |
| 647 | } else if (strcmp(arg, "--disable-pic") == 0) { | 647 | } else if (strcmp(arg, "-fno-PIC") == 0) { |
| 648 | want_pic = WantPICDisabled; | 648 | want_pic = WantPICDisabled; |
| 649 | } else if (strcmp(arg, "--system-linker-hack") == 0) { | 649 | } else if (strcmp(arg, "--system-linker-hack") == 0) { |
| 650 | system_linker_hack = true; | 650 | system_linker_hack = true; |