Skip to content

Commit

Permalink
Disable autosetting of optimization flags by libffi. (#8996)
Browse files Browse the repository at this point in the history
  - Disable the setting of optimization flags. automatically by libffi's
    own decisions. For OpenModelica we want to pass the options and flags
    ourselves.

    This was ignoring all CFLAGS we pass to libffi including `-fPIC`
    breaking the build of OpenModelica on Fedora 36 because the libray
    could not be linked to a shared library (since it was not compiled as
    position independent code.)
  • Loading branch information
mahge committed May 21, 2022
1 parent 6974c97 commit c88cc98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMCompiler/3rdParty
Submodule 3rdParty updated 1 files
+5 −2 libffi/configure.ac

0 comments on commit c88cc98

Please sign in to comment.