Module: kamailio
Branch: master
Commit: 6efcf9afa764b264dc6b8fe3b8a478942bde7e6e
URL:
https://github.com/kamailio/kamailio/commit/6efcf9afa764b264dc6b8fe3b8a4789…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2017-11-14T11:44:35+01:00
app_sqlang: allow select compiler using CC
---
Modified: src/modules/app_sqlang/squirrel/sqstdlib/Makefile
Modified: src/modules/app_sqlang/squirrel/squirrel/Makefile
---
Diff:
https://github.com/kamailio/kamailio/commit/6efcf9afa764b264dc6b8fe3b8a4789…
Patch:
https://github.com/kamailio/kamailio/commit/6efcf9afa764b264dc6b8fe3b8a4789…
---
diff --git a/src/modules/app_sqlang/squirrel/sqstdlib/Makefile
b/src/modules/app_sqlang/squirrel/sqstdlib/Makefile
index 4d6cd6aa3e..2595d3fed8 100644
--- a/src/modules/app_sqlang/squirrel/sqstdlib/Makefile
+++ b/src/modules/app_sqlang/squirrel/sqstdlib/Makefile
@@ -28,16 +28,16 @@ SRCS= \
sq32:
- gcc -O2 -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ) $(DEFS)
- ar rc $(OUT) *.o
+ $(CC) -O2 -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ)
$(DEFS)
+ $(AR) rc $(OUT) *.o
rm *.o
sqprof:
- gcc -O2 -pg -fno-exceptions -fno-rtti -pie -gstabs -g3 -Wall -fno-strict-aliasing -c
$(SRCS) $(INCZ) $(DEFS)
- ar rc $(OUT) *.o
+ $(CC) -O2 -pg -fno-exceptions -fno-rtti -pie -gstabs -g3 -Wall -fno-strict-aliasing -c
$(SRCS) $(INCZ) $(DEFS)
+ $(AR) rc $(OUT) *.o
rm *.o
sq64:
- gcc -O2 -m64 -fno-exceptions -D_SQ64 -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS)
$(INCZ) $(DEFS)
- ar rc $(OUT) *.o
+ $(CC) -O2 -m64 -fno-exceptions -D_SQ64 -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS)
$(INCZ) $(DEFS)
+ $(AR) rc $(OUT) *.o
rm *.o
diff --git a/src/modules/app_sqlang/squirrel/squirrel/Makefile
b/src/modules/app_sqlang/squirrel/squirrel/Makefile
index b1fb62538b..7192d50f2a 100644
--- a/src/modules/app_sqlang/squirrel/squirrel/Makefile
+++ b/src/modules/app_sqlang/squirrel/squirrel/Makefile
@@ -37,16 +37,16 @@ SRCS= \
sq32:
- gcc -O2 -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ) $(DEFS)
- ar rc $(OUT) *.o
+ $(CC) -O2 -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ)
$(DEFS)
+ $(AR) rc $(OUT) *.o
rm *.o
sqprof:
- gcc -O2 -pg -fno-exceptions -fno-rtti -pie -gstabs -g3 -Wall -fno-strict-aliasing -c
$(SRCS) $(INCZ) $(DEFS)
- ar rc $(OUT) *.o
+ $(CC) -O2 -pg -fno-exceptions -fno-rtti -pie -gstabs -g3 -Wall -fno-strict-aliasing -c
$(SRCS) $(INCZ) $(DEFS)
+ $(AR) rc $(OUT) *.o
rm *.o
sq64:
- gcc -O2 -m64 -D_SQ64 -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS)
$(INCZ) $(DEFS)
- ar rc $(OUT) *.o
+ $(CC) -O2 -m64 -D_SQ64 -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS)
$(INCZ) $(DEFS)
+ $(AR) rc $(OUT) *.o
rm *.o