From b411106aa364fd13e87d85e94ade9eeb1d6aeb8e Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 18 Dec 2009 09:13:58 +0000 Subject: [PATCH] cc and cflags --- core/plug-in/binrpcctrl/Makefile | 2 +- core/plug-in/gsm/gsm-1.0-pl10/Makefile | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/plug-in/binrpcctrl/Makefile b/core/plug-in/binrpcctrl/Makefile index 71680f3..753779a 100644 --- a/core/plug-in/binrpcctrl/Makefile +++ b/core/plug-in/binrpcctrl/Makefile @@ -35,7 +35,7 @@ libbinrpc: $(MAKE) all $(LIBBINRPC_LIB)/libbinrpc.a: - $(MAKE) -C $(LIBBINRPC_DIR) all CC=$(CC) LD=$(LD) AR=$(AR) + $(MAKE) -C $(LIBBINRPC_DIR) all CC="$(CC)" LD="$(LD)" AR="$(AR)" libbinrpc_clean: $(MAKE) -C $(LIBBINRPC_DIR) clean diff --git a/core/plug-in/gsm/gsm-1.0-pl10/Makefile b/core/plug-in/gsm/gsm-1.0-pl10/Makefile index 396fb7f..6a1a1a1 100644 --- a/core/plug-in/gsm/gsm-1.0-pl10/Makefile +++ b/core/plug-in/gsm/gsm-1.0-pl10/Makefile @@ -43,11 +43,11 @@ WAV49 = # CC = /usr/lang/acc # CCFLAGS = -c -O -CC = gcc -ansi -pedantic -CCFLAGS = -c -O2 -DNeedFunctionPrototypes=1 -fPIC +CC ?= gcc +CCFLAGS += -ansi -pedantic -c -O2 -DNeedFunctionPrototypes=1 -fPIC MODULE_CFLAGS = -I inc -DHAS_STDLIB_H -LD = $(CC) +LD ?= $(CC) # LD = gcc # LDFLAGS = -- 1.6.5.6