export non-makepkg flags, resolves #149

This commit is contained in:
2022-12-27 17:56:37 +01:00
parent ba9636cffd
commit f93d14c332
2 changed files with 2 additions and 2 deletions

View File

@@ -856,7 +856,7 @@ func parseFlagSection(section interface{}, makepkgConf, march string) (string, e
if len(orgMatch) == 0 {
// no match found, assume env var and append it
log.Debugf("no match found for %s:%v, appending", subSec, subMap)
makepkgConf += fmt.Sprintf("\n%s=%s", strings.ToUpper(subSec.(string)), replaceStringsFromMap(subMap.(string), replaceMap))
makepkgConf += fmt.Sprintf("\nexport %s=%s", strings.ToUpper(subSec.(string)), replaceStringsFromMap(subMap.(string), replaceMap))
continue
}