blob: a17c1f774a6c722bb7e0d6c836dbd50e0ae6ff7e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
From b411106aa364fd13e87d85e94ade9eeb1d6aeb8e Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
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
|