📜  ceedling 链接器标志 - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:56.847000             🧑  作者: Mango

代码示例1
diff --git a/vendor/ceedling/lib/ceedling/defaults.rb b/vendor/ceedling/lib/ceedling/defaults.rb
--- a/vendor/ceedling/lib/ceedling/defaults.rb
+++ b/vendor/ceedling/lib/ceedling/defaults.rb
@@ -32,6 +32,7 @@
   :arguments => [
     "\"${1}\"".freeze,
     "-o \"${2}\"".freeze,
+    "-lm".freeze,
     ].freeze
   }