C compiler selection in cabal package

后端 未结 3 2159
误落风尘
误落风尘 2021-02-19 17:34

I decided to add some flags to control the way that C source file is compiled (i.e. something like use-clang, use-intel etc.).

      C-Sources:    c_lib/tiger.c
              


        
3条回答
  •  感动是毒
    2021-02-19 18:38

    There really doesn't seem to be any way to specify this in a .cabal file; the only thing we seem to have at the moment that would be even remotely useful here is --with-=path.

    I suggest you try filing a ticket against Cabal on the trac.

提交回复
热议问题