aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gentoo/utils.py')
-rw-r--r--gentoo/utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gentoo/utils.py b/gentoo/utils.py
index a32ccfa..bdf05f7 100644
--- a/gentoo/utils.py
+++ b/gentoo/utils.py
@@ -857,6 +857,8 @@ class GentooInstall:
cflags = "-march=%s -O%s" % (settings.makeconf_march, settings.makeconf_opt)
if settings.makeconf_pipe:
cflags += " -pipe"
+ if settings.fomit:
+ cflags += " -fomit-frame-pointer"
cflags = "CFLAGS=\"%s\"" % cflags
cxxflags = "CXXFLAGS=\"${CFLAGS}\""