FS#6872 - makepkg does not pass CFLAGS/CXXFLAGS to build commands
Attached to Project:
Pacman
Opened by Andrew Fyfe (space-m0nkey) - Tuesday, 10 April 2007, 21:29 GMT
Last edited by Dan McGee (toofishes) - Wednesday, 11 April 2007, 16:45 GMT
Opened by Andrew Fyfe (space-m0nkey) - Tuesday, 10 April 2007, 21:29 GMT
Last edited by Dan McGee (toofishes) - Wednesday, 11 April 2007, 16:45 GMT
|
Details
I've just noticed that CFLAGS and CXXFLAGS aren't being
picked up by ./configure, you need to add 'export
CFLAGS=...' 'export CXXFLAGS=...' to makepkg.conf for
./configure to pick them up.
|
This task depends upon
Closed by Dan McGee (toofishes)
Wednesday, 11 April 2007, 16:45 GMT
Reason for closing: Fixed
Additional comments about closing: checked in to CVS and GIT
Wednesday, 11 April 2007, 16:45 GMT
Reason for closing: Fixed
Additional comments about closing: checked in to CVS and GIT
Comment by Dan McGee (toofishes) -
Wednesday, 11 April 2007, 13:57 GMT
Can you check this patch, Andrew? It should fix it.
Comment by
Andrew Fyfe (space-m0nkey) -
Wednesday, 11 April 2007, 16:14 GMT
Either that patch or prefix 'export...' to the lines in
makepkg.conf fixes it.
Comment by Dan McGee (toofishes) -
Wednesday, 11 April 2007, 16:40 GMT
I want to keep use of export out of makepkg.conf to keep it a
configuration file and nothing else. I'll check it into CVS and
GIT.
cflags.patch
(0.5 KiB)