You are not logged in.
Pages: 1
Part of the mplayer PKGBUILD (and I assume various other packages also) there is a line that says:
unset CFLAGS
This is supposedly because mplayer compilation breaks otherwise. Say i'm doing this manually without a PKGBUILD, does the unset command persist? Do I need to run something like 'source /etc/makepkg.conf' or does the command only apply for the xterm I have open?
Thanks!
Last edited by dyscoria (2008-03-20 14:43:20)
flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)
Offline
Hm? If you are building manually, only environment variables set in that particular shell session (terminal) matter. How could a command in a PKGBUILD influence those? If you want to unset CFLAGS, just "unset CFLAGS" in terminal. Likewise "source <anything>" will only affect environment variables in your current terminal. You can see what's set by running "env" (at least in bash and zsh).
EDIT: Now on the second read, I'm not sure what do you mean by "manually": What I meant by manually is the usual "./configure, make, make install".
Last edited by bender02 (2008-03-20 15:11:29)
Offline
Ah thanks! That env command will come in very useful too
edit: yeah, what I meant by manually is configure, make etc etc. I was just wondering about the persistance of the unset command when used on the command line.
Last edited by dyscoria (2008-03-20 15:14:29)
flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)
Offline
Pages: 1