aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiktor w brodlo <wiktor@brodlo.net>2011-08-22 04:22:11 +0000
committerwiktor w brodlo <wiktor@brodlo.net>2011-08-22 04:22:11 +0000
commit774577b93996bcca372bad67e662c4ac6e0571c3 (patch)
treefd971515e111fc0c266cc7b92e4633d119e8083c
parentAdd -fomit-frame-pointer to list of CFLAGS (diff)
downloadanaconda-774577b93996bcca372bad67e662c4ac6e0571c3.tar.gz
anaconda-774577b93996bcca372bad67e662c4ac6e0571c3.tar.bz2
anaconda-774577b93996bcca372bad67e662c4ac6e0571c3.zip
Add -fomit-frame-pointer to makeconf_factory
-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}\""