Closed floppym closed 8 years ago
I should also state that looking at the value of CC to determine what compiler is in use is broken in general. I could call gcc
anything (like cc
, for instance), and this would fail to be detected using simple string checking.
It would be more reliable to use preprocessor macros to determine this. For example:
https://gitweb.gentoo.org/repo/gentoo.git/tree/eclass/toolchain-funcs.eclass#n576
efibootmgr suffers the same broken compiler detection that was fixed in https://github.com/rhinstaller/efivar/commit/50fb27698cf9f71f016aa87a7b57b5a986867410.