Add env to chroot

Gerard Beekmans gerard at linuxfromscratch.org
Sat Aug 5 18:45:18 PDT 2000


>    root:~# chroot /mnt env -i CFLAGS="-O3 --mcpu=xxx -march=yyy" \
>    > CXXFLAGS="-O3 -mcpu=xxx -march=yyy" bash --login
> 
> Then you end up with an environment which contains just CFLAGS, CXXFLAGS
> plus the few variables set up by bash.

Interesting proposal. Let me test it and then add it to 2.4

-- 
Gerard Beekmans
www.linuxfromscratch.org

-*- If Linux doesn't have the solution, you have the wrong problem -*-
--
Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
IRC access: server: irc.linuxfromscratch.org port: 6667 channel: #LFS
Unsubscribe: email lfs-discuss-request at linuxfromscratch.org and put
"unsubscribe" (without the quotation marks) in the body of the message
(no subject is required)



More information about the lfs-dev mailing list