diff options
author | Matt Turner <mattst88@gmail.com> | 2021-07-16 14:28:22 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2021-07-16 14:28:22 -0700 |
commit | ee6bc2eed076549fd2f70aa566607b9a8fbaf7ae (patch) | |
tree | e76134c58b65a732fad3dea6e504d8dd2c82ccbb /base/etc | |
parent | 366724f19977479c9cc635f1501cda30873d5251 (diff) |
Prefix COMMON_FLAGS with a double-underscore
Portage does not export variables declared with a double-underscore.
Diffstat (limited to 'base/etc')
-rw-r--r-- | base/etc/portage/make.conf.tmpl | 10 |
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" |