Merge pull request #533 from micmac1/rtpe-parallel
[feed/telephony.git] / net / asterisk-16.x / patches / 056-fix-check_expr2-build.patch
1 --- a/utils/Makefile
2 +++ b/utils/Makefile
3 @@ -180,14 +180,13 @@ conf2ael: conf2ael.o ast_expr2f.o ast_ex
4
5 check_expr2: $(ASTTOPDIR)/main/ast_expr2f.c $(ASTTOPDIR)/main/ast_expr2.c $(ASTTOPDIR)/main/ast_expr2.h astmm.o
6 $(ECHO_PREFIX) echo " [CC] ast_expr2f.c -> ast_expr2fz.o"
7 - $(CC) -g -c -I$(ASTTOPDIR)/include -DSTANDALONE $(ASTTOPDIR)/main/ast_expr2f.c -o ast_expr2fz.o
8 + $(CC) -g -c -I$(ASTTOPDIR)/include $(_ASTCFLAGS) $(ASTTOPDIR)/main/ast_expr2f.c -o ast_expr2fz.o
9 $(ECHO_PREFIX) echo " [CC] ast_expr2.c -> ast_expr2z.o"
10 - $(CC) -g -c -I$(ASTTOPDIR)/include -DSTANDALONE2 $(ASTTOPDIR)/main/ast_expr2.c -o ast_expr2z.o
11 + $(CC) -g -c -I$(ASTTOPDIR)/include $(_ASTCFLAGS) -DSTANDALONE2 $(ASTTOPDIR)/main/ast_expr2.c -o ast_expr2z.o
12 $(ECHO_PREFIX) echo " [LD] ast_expr2fz.o ast_expr2z.o -> check_expr2"
13 $(CC) -g -o check_expr2 ast_expr2fz.o ast_expr2z.o astmm.o -lm $(_ASTLDFLAGS)
14 $(ECHO_PREFIX) echo " [RM] ast_expr2fz.o ast_expr2z.o"
15 rm ast_expr2z.o ast_expr2fz.o
16 - ./check_expr2 expr2.testinput
17
18 smsq: smsq.o strcompat.o
19 smsq: LIBS+=$(POPT_LIB)