You are not logged in.
Pages: 1
I'm looking for some convenient way to set CFLAGS while building packages with the makepkg. What I'd like to do is something like this:
$ makepkg --use-config=/path/to/a/config-file
Is it possible? I haven't found any options (in the makepkg manpage) that would make the makepkg to use another config file than the default /etc/makepkg.conf.
Offline
maybe you could use -j `cat /path/to/alternate/makeflags` ?
Offline
According to the makepkg manpage the -j option may be used to override the MAKEFLAGS setting in /etc/makepkg.conf. This is only the partial solution of my problem - in fact, all I want to do is to change the CFLAGS setting in this file...
To be honest - the reason of my question (and of this topic) is something different. I belive I've found some solution, but it is quite complicated. Now I'm working on a script - it will be a kind of wrapper for the makepkg, that will allow its user to use as many different configuration files, as it will be needed. By creating this topic I just wanted to be sure, that I'm not trying to reinvent the wheel.
Offline
Pages: 1