summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--profiles/generic/x86-64-v2/eapi1
-rw-r--r--profiles/generic/x86-64-v2/make.defaults2
-rw-r--r--profiles/generic/x86-64-v2/parent3
-rw-r--r--profiles/profiles.desc1
4 files changed, 7 insertions, 0 deletions
diff --git a/profiles/generic/x86-64-v2/eapi b/profiles/generic/x86-64-v2/eapi
new file mode 100644
index 00000000..7ed6ff82
--- /dev/null
+++ b/profiles/generic/x86-64-v2/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/generic/x86-64-v2/make.defaults b/profiles/generic/x86-64-v2/make.defaults
new file mode 100644
index 00000000..2a7965de
--- /dev/null
+++ b/profiles/generic/x86-64-v2/make.defaults
@@ -0,0 +1,2 @@
+CFLAGS="-march=x86-64-v2 -O2 -pipe -fomit-frame-pointer"
+CXXFLAGS="${CFLAGS}"
diff --git a/profiles/generic/x86-64-v2/parent b/profiles/generic/x86-64-v2/parent
new file mode 100644
index 00000000..1a91f396
--- /dev/null
+++ b/profiles/generic/x86-64-v2/parent
@@ -0,0 +1,3 @@
+gentoo:targets/systemd
+gentoo:default/linux/amd64/23.0/no-multilib/hardened
+..
diff --git a/profiles/profiles.desc b/profiles/profiles.desc
index c32f7fec..6d8b8020 100644
--- a/profiles/profiles.desc
+++ b/profiles/profiles.desc
@@ -15,6 +15,7 @@ amd64 desktop/amd64 stable
# Server profiles
amd64 generic/x86-64 stable
+amd64 generic/x86-64-v2 stable
amd64 server/scabb/amd64 stable
x86 server/scabb/i586 stable
amd64 server/hp-dl360-g4p stable