summaryrefslogtreecommitdiff
path: root/profiles/default
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/default')
-rw-r--r--profiles/default/linux/amd64/23.0/make.defaults4
-rw-r--r--profiles/default/linux/ppc/23.0/make.defaults4
-rw-r--r--profiles/default/linux/ppc64/23.0/make.defaults4
-rw-r--r--profiles/default/linux/x86/23.0/make.defaults4
4 files changed, 16 insertions, 0 deletions
diff --git a/profiles/default/linux/amd64/23.0/make.defaults b/profiles/default/linux/amd64/23.0/make.defaults
new file mode 100644
index 000000000000..05f8f6a36542
--- /dev/null
+++ b/profiles/default/linux/amd64/23.0/make.defaults
@@ -0,0 +1,4 @@
+# Copyright 2023 Gentoo Authors.
+# Distributed under the terms of the GNU General Public License v2
+
+LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
diff --git a/profiles/default/linux/ppc/23.0/make.defaults b/profiles/default/linux/ppc/23.0/make.defaults
new file mode 100644
index 000000000000..05f8f6a36542
--- /dev/null
+++ b/profiles/default/linux/ppc/23.0/make.defaults
@@ -0,0 +1,4 @@
+# Copyright 2023 Gentoo Authors.
+# Distributed under the terms of the GNU General Public License v2
+
+LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
diff --git a/profiles/default/linux/ppc64/23.0/make.defaults b/profiles/default/linux/ppc64/23.0/make.defaults
new file mode 100644
index 000000000000..05f8f6a36542
--- /dev/null
+++ b/profiles/default/linux/ppc64/23.0/make.defaults
@@ -0,0 +1,4 @@
+# Copyright 2023 Gentoo Authors.
+# Distributed under the terms of the GNU General Public License v2
+
+LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
diff --git a/profiles/default/linux/x86/23.0/make.defaults b/profiles/default/linux/x86/23.0/make.defaults
new file mode 100644
index 000000000000..05f8f6a36542
--- /dev/null
+++ b/profiles/default/linux/x86/23.0/make.defaults
@@ -0,0 +1,4 @@
+# Copyright 2023 Gentoo Authors.
+# Distributed under the terms of the GNU General Public License v2
+
+LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"