diff options
author | russell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-11-01 19:10:56 +0000 |
---|---|---|
committer | russell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-11-01 19:10:56 +0000 |
commit | 48689826a94c19de3897757c18c07c767a501e43 (patch) | |
tree | 26e9f0d165cd1a1a0c92ce41eb91ddf6a10fc799 /Makefile | |
parent | 15eb19afe3cbe114092a86b7d20825e21274a731 (diff) |
Merged revisions 1547 via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.4
........
r1547 | russell | 2006-11-01 14:04:02 -0500 (Wed, 01 Nov 2006) | 3 lines
instead of setting HOSTCC and CC directly in the Makefile, use the information
provided by the configure script (issue #8055, tzafrir)
........
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1548 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -9,8 +9,6 @@ .PHONY: menuselect distclean dist-clean clean version.h all _all install b410p devices programs modules linux24 linux26 xpp tests devel data stackcheck install-udev config update install-programs install-modules install-linux24 install-linux26 firmware install-include install-libs -HOSTCC=gcc -CC=gcc PWD=$(shell pwd) ifeq ($(DEB_HOST_GNU_TYPE),) @@ -255,7 +253,8 @@ tor2fw.h: tormenta2.rbt makefw radfw.h: pciradio.rbt makefw ./makefw $< radfw > $@ -makefw: CFLAGS= +makefw: makefw.c + $(HOSTCC) -o $@ $^ gendigits: LDLIBS+=-lm gendigits: CFLAGS= |