You are not logged in.
Pages: 1
my current '/etc/makepkg.conf' is
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
which is global for every manual build right?
but in my customised PKGBUILD
i want to take away '-fomit-frame-pointer' and then add '-g' (for debug and making good backtrace reasons)
will this do it?
'unset' to get rid of the '-fomit-frame-pointer'
build() {
unset CFLAGS
unset CXXFLAGS
export CFLAGS="-march=athlon-xp -O2 -pipe -g"
export CXXFLAGS="-march=athlon-xp -O2 -pipe -g"
would the CFLAGS to that build be '-march=athlon-xp -O2 -pipe -g' ?
thanks, im still learning.
Last edited by gav616 (2008-09-30 19:13:03)
Offline
That should work fine, yes. And you don't have to unset them, the export suffices for overwriting.
1000
Offline
Pages: 1