File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -748,9 +748,6 @@ void default_cflags(void)
748748 check_and_add_cflag ("-Wl,--strip-all" , false);
749749 check_and_add_cflag ("-U_FORTIFY_SOURCE" , false);
750750 check_and_add_cflag ("-D_FORTIFY_SOURCE=3" , false);
751- check_and_add_cflag ("-fvisibility=hidden" , false);
752- check_and_add_cflag ("-fsanitize=cfi" , false);
753- check_and_add_cflag ("-fsanitize=safe-stack" , false);
754751}
755752// Dev cflags
756753void dev_cflags (void )
@@ -807,10 +804,7 @@ int main(int argc, char **argv)
807804 error ("Error: Invalid number of jobs: %s" , argv [i ]);
808805 }
809806 } else if (strcmp (argv [i ], "--static" ) == 0 || strcmp (argv [i ], "-s" ) == 0 ) {
810- check_and_add_cflag ("-static-pie" , false);
811- if (!check_c_flag ("-static-pie" )) {
812- check_and_add_cflag ("-static" , true);
813- }
807+ check_and_add_cflag ("-static" , true);
814808 } else if (strcmp (argv [i ], "--help" ) == 0 || strcmp (argv [i ], "-h" ) == 0 ) {
815809 show_help ();
816810 exit (0 );
You can’t perform that action at this time.
0 commit comments