Menu

#61 Reinstall using `make install` recompiles the package

open
nobody
None
1
2012-09-24
2012-09-24
No

When gwaei is already installed (an older version, etc.), running make install again will recompile the whole package. This is because system directories are checked for headers before the ones included in the package. When make install is run, it will first update the headers already installed, which makes the timestamp of the headers to be newer than the targets, trigerring recompilation.

I use make install -d to check which triggered recompilation, and they are the newer headers of gWaei installed by the package.

I attached a patch to fix this, by adding the paths in the package before anything else in CFLAGS.

1 Attachments

Discussion


Log in to post a comment.