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 726210 - Changing ./configuration switch does not rebuild properly
Changing ./configuration switch does not rebuild properly
Status: RESOLVED FIXED
Product: california
Classification: Other
Component: build
master
Other Linux
: Normal normal
: 0.2.0
Assigned To: California Maintainers
California Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-03-13 00:00 UTC by Jim Nelson
Modified: 2014-08-20 02:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jim Nelson 2014-03-13 00:00:22 UTC
If a ./configure switch is changed after building California, the code is not fully recompiled.  Worse, "make clean" will not recompile honoring the new switch because under standard autotools "make clean" only deletes .o files, not the .c files (as it expects to ship the .c's in the tarball).  The user must use "make devclean" to force valac to recompile the .c files.  (The current implementation of --enable-unity is for Vala conditional compilation.)

If the user changes configuration with a switch, automake should force a complete rebuild of the application.
Comment 1 Jim Nelson 2014-08-20 02:10:45 UTC
Pushed to master, commit 01d7b8