The Discourse answer is essentially correct for the newer fpm 0.13 development versions, but there is an even simpler way if your immediate goal is just to compile long free-form Fortran lines.
For gfortran, try:
fpm run --profile release --flag "-ffree-line-length-280"
Or, if you don’t want a practical limit:
fpm run --profile release --flag "-ffree-line-length-none"
fpm supports passing Fortran compiler flags with --flag, and FPM_FFLAGS is the corresponding environment variable.
So you could also do:
export FPM_FFLAGS="-ffree-line-length-none"
fpm run --profile release
Why it may suddenly have changed
The important clue is:
fpm version is 0.13.0alpha
You’re using a development/alpha fpm, and the profile/feature mechanism has changed. That makes it quite plausible that the project didn’t actually lose a line from fpm.toml; an fpm upgrade or changed profile handling could have altered which compiler options are being supplied.
The old-looking configuration
[build]
flags = ["-ffree-line-length-200"]
is not the right solution for current fpm.
For the newer feature system shown in the discussion, the intended form is:
[features]
longlines.gfortran.flags = "-ffree-line-length-none"
[profiles]
default = ["longlines"]
Then:
fpm run
should activate it through the default profile, or you can explicitly select the feature:
fpm run --features release,longlines
One detail worth checking first is exactly which build you’re running:
fpm --version
gfortran --version
fpm run --profile release --verbose
The verbose output should reveal the actual gfortran command line. That will tell you whether -ffree-line-length-* used to be supplied and has disappeared.
For GNU Fortran, I’d use -ffree-line-length-none rather than 280: it removes the artificial line-length problem altogether while retaining your existing source formatting.