Summary:ASTERISK-04032: [patch] unused INSTALL_PREFIX passed to the compiler Makefile
Reporter:Luigi Rizzo (rizzo)Labels:
Date Opened:2005-05-02 06:38:24Date Closed:2005-05-04 00:30:43
Versions:Frequency of
Environment:Attachments:( 0) 4130.patch.txt
Description:INSTALL_PREFIX is passed to the compiler but it does not seem to be used anywhere else in the sources except from this Makefile. In the interest of clarity i would suggest to remove it from CFLAGS.
Trivial patch is attached.
I would also suggest to document that INSTALL_PREFIX is meant (at least this is my understanding) to act as a global prefix for all pathnames, and not as a (missing) architecture-specific basename for installing stuff (e.g. /usr vs /usr/local and the like).
Comments:By: Jeffrey C. Ollie (jcollie) 2005-05-02 08:43:41

Take a look at ASTERISK-4019 - this is a more comprehensive look at the make system.

By: Kevin P. Fleming (kpfleming) 2005-05-04 00:30:33

Not actually a duplicate, but the same fix (and more) are included in ASTERISK-4084116.