aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fe/gtk/MakeDotConf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe/gtk/MakeDotConf.py b/src/fe/gtk/MakeDotConf.py
index f4bac76..ba918c5 100644
--- a/src/fe/gtk/MakeDotConf.py
+++ b/src/fe/gtk/MakeDotConf.py
@@ -344,10 +344,10 @@ but this guideline isn't always perfect. The syntax for the MAKEOPTS varaible is
for flag in sorted_use:
if flag in self.use_flags:
if self.use_flags[flag] == 1:
- if not flag in profile_use:
+ if not flag in self.profile_use:
temp_use += " " + flag
else:
- if flag in profile_use:
+ if flag in self.profile_use:
temp_use += " -" + flag
self.make_conf_values['USE'] = temp_use
self.make_conf_values['CFLAGS'] = "-march=" + self.arch_procs[self.controller.cc.get_arch()][self.proc_combo.get_active()] + " " + self.optimizations[self.optimizations_combo.get_active()] + " " + self.custom_cflags_entry.get_text()