You receive this bug because this package prints directly gcc instead of the system's CC This could be a cosmetic bug because mostly this is only a print error and it really uses the system's CC The possible solution to fix this issue is check the config.log and: - if this is a print error and it uses the system's CC, a sed could fix. - if you really see gcc instead of the system's CC, this package does not respect CC From the build log: checking whether gcc accepts -std... yes