File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -159,5 +159,15 @@ To automatically bootstrap using this appoach run the install script
159
159
./install.sh
160
160
```
161
161
162
- You can set your Fortran compiler and the compiler flags with the `` FC `` and `` FFLAGS ``
163
- environment variables.
162
+ The table below lists the environment variables that control ` fpm ` 's choice of compilers,
163
+ compiler flags, archiver locations, and link flags, each of which can be overridden by
164
+ passing ` fpm ` flags also shown in the table.
165
+
166
+ | Environment Variable | Defines | Overridden by |
167
+ | :------------------- | :-------------------- | :------------- |
168
+ | ` FPM_FC ` | Fortran compiler path | ` --compiler ` |
169
+ | ` FPM_CC ` | C compiler path | ` --c-compiler ` |
170
+ | ` FPM_FFLAGS ` | Fortran compiler flags| ` --flag ` |
171
+ | ` FPM_CFLAGS ` | C compiler flags | ` --c-flag ` |
172
+ | ` FPM_AR ` | Archiver path | ` --archiver ` |
173
+ | ` FPM_LDFLAGS ` | Link flags | ` --link-flag ` |
You can’t perform that action at this time.
0 commit comments