Summary: | ASTERISK-00978: [patch] Use correct compiler for building kernel modules | ||
Reporter: | Thorsten Lockert (tholo) | Labels: | |
Date Opened: | 2004-02-02 13:26:44.000-0600 | Date Closed: | 2008-06-07 10:33:41 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) zaptel.diff | |
Description: | Often the systems default compiler is not the same compiler that is being used to build the kernel, and that should be used to build kernel modules. This is not currently configurable in the zaptel Makefile, but hardcoded to "gcc". ****** ADDITIONAL INFORMATION ****** The enclosed patch will change the compiler used for building kernel modules to $(HOSTCC), with its value by default set to "gcc". On some systems (e.g. Fedora Core 1), this should be changed by the user to e.g. "gcc32". One instance of "gcc" was changed to "$(CC)" as it was building a utility and not a kernel module. | ||
Comments: | By: Brian West (bkw918) 2004-02-03 19:25:18.000-0600 Added to CVS By: Digium Subversion (svnbot) 2008-06-07 10:33:41 Repository: dahdi Revision: 307 U trunk/Makefile ------------------------------------------------------------------------ r307 | markster | 2008-06-07 10:33:40 -0500 (Sat, 07 Jun 2008) | 2 lines Use HOSTCC (bug ASTERISK-978) ------------------------------------------------------------------------ http://svn.digium.com/view/dahdi?view=rev&revision=307 |