summaryrefslogtreecommitdiff
path: root/ar/os.Linux.mk
diff options
context:
space:
mode:
Diffstat (limited to 'ar/os.Linux.mk')
-rw-r--r--ar/os.Linux.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/ar/os.Linux.mk b/ar/os.Linux.mk
new file mode 100644
index 000000000000..daed864eee9e
--- /dev/null
+++ b/ar/os.Linux.mk
@@ -0,0 +1,9 @@
+.if ${OS_DISTRIBUTION} == "Ubuntu"
+.if ${OS_DISTRIBUTION_VERSION} >= 14
+# Ubuntu Trusty Tahr and later.
+
+# Use the --nounput option to flex(1), to prevent unused functions from
+# being generated.
+LFLAGS += --nounput
+.endif
+.endif