compiler: add `Platform::supports_linker_script`
[nit.git] / src / platform.nit
index 54a9eaa..5b7f7a5 100644 (file)
@@ -112,4 +112,7 @@ class Platform
 
        # Does this platform declare its own main function? If so, we won't generate one in Nit.
        fun no_main: Bool do return false
+
+       # Does the platform accepts linker scripts?
+       fun supports_linker_script: Bool do return true
 end