X-Git-Url: http://nitlanguage.org diff --git a/src/ffi/c.nit b/src/ffi/c.nit index 1790f48..495d4e6 100644 --- a/src/ffi/c.nit +++ b/src/ffi/c.nit @@ -74,8 +74,14 @@ redef class Location end redef class MModule - var cflags = "" is writable - var ldflags = "" is writable + # FIXME make nullable the key of `cflags`, `ldflags` and `cppflags` when + # supported by the bootstrap + + # Custom options for the C compiler (CFLAGS) + var cflags = new MultiHashMap[String, String] + + # Custom options for the C linker (LDFLAGS) + var ldflags = new MultiHashMap[String, String] # Additional libraries needed for the compilation # Will be used with pkg-config