summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--make/variant/gnu.defs11
-rw-r--r--make/variant/kfreebsd.defs11
2 files changed, 22 insertions, 0 deletions
diff --git a/make/variant/gnu.defs b/make/variant/gnu.defs
new file mode 100644
index 000000000..c70327292
--- /dev/null
+++ b/make/variant/gnu.defs
@@ -0,0 +1,11 @@
+TARGET.dylib.ext = .so
+
+GCC.start = 1
+GCC.end = 1
+GCC.args.dylib = -shared
+GCC.args.pic = 1
+
+GCC.args.g.none = -g0
+GCC.args.g.min = -g1
+GCC.args.g.std = -g2
+GCC.args.g.max = -g3
diff --git a/make/variant/kfreebsd.defs b/make/variant/kfreebsd.defs
new file mode 100644
index 000000000..c70327292
--- /dev/null
+++ b/make/variant/kfreebsd.defs
@@ -0,0 +1,11 @@
+TARGET.dylib.ext = .so
+
+GCC.start = 1
+GCC.end = 1
+GCC.args.dylib = -shared
+GCC.args.pic = 1
+
+GCC.args.g.none = -g0
+GCC.args.g.min = -g1
+GCC.args.g.std = -g2
+GCC.args.g.max = -g3