[cfe-commits] Use GCC_INSTALL_PREFIX to initialize SysRoot

Sebastian Pop spop at codeaurora.org
Thu Mar 8 15:00:52 PST 2012


Thanks James and Rafael for your review and testing.

As I have grepped for GCC_INSTALL_PREFIX to see all the places that
I have to modify, I have missed the changes to CMakeLists.txt.
So I also have added a description for GCC_INSTALL_PREFIX.

As suggested by Rafael, I factored out the other uses of
OPT__sysroot_EQ into a call to Compilation::getSysRoot()

Please let me know if the patch can still be improved before commit.

Thanks again for your very good feedback!
Sebastian
--
Qualcomm Innovation Center, Inc is a member of Code Aurora Forum
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-add-configure-flag-with-default-sysroot.patch
Type: text/x-diff
Size: 4069 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120308/a69f1bc0/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-use-DEFAULT_SYSROOT.patch
Type: text/x-diff
Size: 6377 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120308/a69f1bc0/attachment-0001.patch>


More information about the cfe-commits mailing list