@@ -160,9 +160,7 @@ module fpm_command_line
160
160
& ' ' , ' fpm' , ' new' , ' build' , ' run' , ' clean' , &
161
161
& ' test' , ' runner' , ' install' , ' update' , ' list' , ' help' , ' version' , ' publish' ]
162
162
163
- character (len= :), allocatable :: val_runner, val_compiler, val_flag, val_cflag, val_cxxflag, val_ldflag, &
164
- val_profile, val_runner_args, val_dump
165
-
163
+ character (len= :), allocatable :: val_runner,val_runner_args,val_dump
166
164
167
165
! '12345678901234567890123456789012345678901234567890123456789012345678901234567890',&
168
166
character (len= 80 ), parameter :: help_text_build_common(* ) = [character (len= 80 ) :: &
@@ -526,8 +524,6 @@ subroutine get_command_line_settings(cmd_settings)
526
524
& --config-file " " &
527
525
&' , help_install, version_text)
528
526
529
- call check_build_vals()
530
-
531
527
config_file = sget(' config-file' )
532
528
allocate (install_settings)
533
529
@@ -558,8 +554,6 @@ subroutine get_command_line_settings(cmd_settings)
558
554
& --config-file " " &
559
555
& -- ' , help_test,version_text)
560
556
561
- call check_build_vals()
562
-
563
557
if ( size (unnamed) > 1 )then
564
558
names= unnamed(2 :)
565
559
else
@@ -636,8 +630,6 @@ subroutine get_command_line_settings(cmd_settings)
636
630
& --dependencies "filename" ' , &
637
631
help_build, version_text)
638
632
639
- call check_build_vals()
640
-
641
633
allocate (export_settings)
642
634
call build_settings(export_settings, show_model= .true. )
643
635
call get_char_arg(export_settings% dump_model, ' model' )
@@ -705,8 +697,6 @@ subroutine get_command_line_settings(cmd_settings)
705
697
& --config-file " " &
706
698
& --' , help_publish, version_text)
707
699
708
- call check_build_vals()
709
-
710
700
config_file = sget(' config-file' )
711
701
token_s = sget(' token' )
712
702
@@ -758,18 +748,6 @@ subroutine get_command_line_settings(cmd_settings)
758
748
759
749
contains
760
750
761
- subroutine check_build_vals ()
762
- val_compiler= sget(' compiler' )
763
- if (val_compiler==' ' ) val_compiler= ' gfortran'
764
-
765
- val_flag = " " // sget(' flag' )
766
- val_cflag = " " // sget(' c-flag' )
767
- val_cxxflag = " " // sget(' cxx-flag' )
768
- val_ldflag = " " // sget(' link-flag' )
769
- val_profile = sget(' profile' )
770
-
771
- end subroutine check_build_vals
772
-
773
751
! > Print help text and stop
774
752
subroutine printhelp (lines )
775
753
character (len= :),intent (in ),allocatable :: lines(:)
0 commit comments