After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 720066 - scanner: inconsistent default for $(CC)
scanner: inconsistent default for $(CC)
Status: RESOLVED FIXED
Product: gobject-introspection
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-12-08 17:01 UTC by Allison Karlitskaya (desrt)
Modified: 2015-02-07 16:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
dumper: use 'cc' as the default C compiler (1.05 KB, patch)
2013-12-08 17:02 UTC, Allison Karlitskaya (desrt)
committed Details | Review

Description Allison Karlitskaya (desrt) 2013-12-08 17:01:27 UTC
In some places the scanner takes 'cc' as the default C compiler if $(CC) is not set.  In others, it hardcodes 'gcc'.

Probably it should use 'cc' everywhere.
Comment 1 Allison Karlitskaya (desrt) 2013-12-08 17:02:40 UTC
Created attachment 263747 [details] [review]
dumper: use 'cc' as the default C compiler

If $(CC) is unset, use 'cc' instead of 'gcc' as the default compiler.

This matches the behaviour used in the source scanner.
Comment 2 Colin Walters 2013-12-08 17:03:39 UTC
Review of attachment 263747 [details] [review]:

Sounds fine to me.
Comment 3 Allison Karlitskaya (desrt) 2013-12-08 17:25:15 UTC
Attachment 263747 [details] pushed as d355a38 - dumper: use 'cc' as the default C compiler

Thanks!
Comment 4 André Klapper 2015-02-07 16:51:17 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]