summaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2021-07-16 14:28:22 -0700
committerMatt Turner <mattst88@gmail.com>2021-07-16 14:28:22 -0700
commitee6bc2eed076549fd2f70aa566607b9a8fbaf7ae (patch)
treee76134c58b65a732fad3dea6e504d8dd2c82ccbb /base
parent366724f19977479c9cc635f1501cda30873d5251 (diff)
Prefix COMMON_FLAGS with a double-underscore
Portage does not export variables declared with a double-underscore.
Diffstat (limited to 'base')
-rw-r--r--base/etc/portage/make.conf.tmpl10
1 files changed, 5 insertions, 5 deletions
diff --git a/base/etc/portage/make.conf.tmpl b/base/etc/portage/make.conf.tmpl
index e90dc04..5c3dee0 100644
--- a/base/etc/portage/make.conf.tmpl
+++ b/base/etc/portage/make.conf.tmpl
@@ -1,9 +1,9 @@
CHOST="x86_64-pc-linux-gnu"
-COMMON_FLAGS="-O2 -march={{ arch }} -pipe"
-CFLAGS="${COMMON_FLAGS}"
-CXXFLAGS="${COMMON_FLAGS}"
-FCFLAGS="${COMMON_FLAGS}"
-FFLAGS="${COMMON_FLAGS}"
+__COMMON_FLAGS="-O2 -march={{ arch }} -pipe"
+CFLAGS="${__COMMON_FLAGS}"
+CXXFLAGS="${__COMMON_FLAGS}"
+FCFLAGS="${__COMMON_FLAGS}"
+FFLAGS="${__COMMON_FLAGS}"
FEATURES="buildpkg binpkg-multi-instance parallel-install"
MAKEOPTS="-j{{ salt.status.nproc() }} -l{{ salt.status.nproc() }}"
ACCEPT_LICENSE="linux-firmware linux-fw-redistributable no-source-code intel-ucode freedist"